diff --git a/spice/macros.h b/spice/macros.h index 62157b4..78538a5 100644 --- a/spice/macros.h +++ b/spice/macros.h @@ -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