SCP: Added definition of SIM_INLINE when compiling with MSVC, gcc and clang
This commit is contained in:
parent
17f6132352
commit
4381f9acc1
1 changed files with 7 additions and 1 deletions
|
@ -246,7 +246,13 @@ typedef uint32 t_addr;
|
|||
|
||||
/* Stubs for inlining */
|
||||
|
||||
#define SIM_INLINE
|
||||
#if defined(_MSC_VER)
|
||||
#define SIM_INLINE _inline
|
||||
#elif defined(__GNUC__)
|
||||
#define SIM_INLINE inline
|
||||
#else
|
||||
#define SIM_INLINE
|
||||
#endif
|
||||
|
||||
/* System independent definitions */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue