mirror of
https://github.com/simh/simh.git
synced 2026-03-01 09:31:16 +00:00
SCP: Added definition of SIM_INLINE when compiling with MSVC, gcc and clang
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user