mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-26 14:18:31 +00:00
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:
parent
b95f8e77a5
commit
5bb6ff4fa6
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user