summaryrefslogtreecommitdiffstats
path: root/common/lz_config.h
diff options
context:
space:
mode:
authorArnon Gilboa <agilboa@redhat.com>2011-05-12 15:09:12 +0300
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:53 +0100
commit88f7e2b32d7ca6c54378b23e0ff14cdb946167bf (patch)
treefd5aa9ecb79730cdefaac61688813329902bf6a7 /common/lz_config.h
parent4cb26e06f7a5425f84eaafbdc57f7087e184a92d (diff)
downloadspice-common-88f7e2b32d7ca6c54378b23e0ff14cdb946167bf.tar.gz
spice-common-88f7e2b32d7ca6c54378b23e0ff14cdb946167bf.tar.xz
spice-common-88f7e2b32d7ca6c54378b23e0ff14cdb946167bf.zip
common: use INLINE instead of inline
needed for spice/common files used by the client, server & qxl driver. in windows _inline works for both c/c++, while inline is c++ only. compiling the client with mixed c/c++ code required this define.
Diffstat (limited to 'common/lz_config.h')
-rw-r--r--common/lz_config.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/common/lz_config.h b/common/lz_config.h
index 439f413..d8675a8 100644
--- a/common/lz_config.h
+++ b/common/lz_config.h
@@ -25,24 +25,15 @@
#include <spice/macros.h>
#ifdef __GNUC__
-
#include <string.h>
-
-#define INLINE inline
-
#else
-
#ifdef QXLDD
#include <windef.h>
#include "os_dep.h"
-#define INLINE _inline
-
#else
#include <stddef.h>
#include <string.h>
-
-#define INLINE inline
#endif // QXLDD
-
#endif //__GNUC__
+
#endif //__LZ_CONFIG_H