SCP: Added definition of SIM_INLINE when compiling with MSVC, gcc and clang

This commit is contained in:
Mark Pizzolato 2014-12-30 18:46:43 -08:00
parent 17f6132352
commit 4381f9acc1

View file

@ -246,7 +246,13 @@ typedef uint32 t_addr;
/* Stubs for inlining */ /* Stubs for inlining */
#if defined(_MSC_VER)
#define SIM_INLINE _inline
#elif defined(__GNUC__)
#define SIM_INLINE inline
#else
#define SIM_INLINE #define SIM_INLINE
#endif
/* System independent definitions */ /* System independent definitions */