macros: define 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.
This commit is contained in:
Arnon Gilboa 2011-05-12 11:45:58 +03:00
parent b95f8e77a5
commit 5bb6ff4fa6

View File

@ -101,6 +101,12 @@
# define SPICE_END_DECLS
#endif
#ifdef __GNUC__
#define INLINE inline
#else
#define INLINE _inline
#endif /* __GNUC__ */
#ifndef FALSE
#define FALSE (0)
#endif