summaryrefslogtreecommitdiffstats
path: root/common/lz_config.h
diff options
context:
space:
mode:
authorArnon Gilboa <agilboa@redhat.com>2011-05-12 15:09:12 +0300
committerArnon Gilboa <agilboa@redhat.com>2011-05-12 15:21:08 +0300
commit483d13ce611686c37d766e0a38fdf9aae1d39fe5 (patch)
tree845877ff31940affc040ce934be2116159f848b4 /common/lz_config.h
parent8776562115ab22b76e30eed3379122477ed00372 (diff)
downloadspice-483d13ce611686c37d766e0a38fdf9aae1d39fe5.tar.gz
spice-483d13ce611686c37d766e0a38fdf9aae1d39fe5.tar.xz
spice-483d13ce611686c37d766e0a38fdf9aae1d39fe5.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 439f413c..d8675a88 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