mirror of
https://github.com/simh/simh.git
synced 2026-04-28 12:47:25 +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 */
|
/* 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 */
|
/* System independent definitions */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user