medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 30392612e936908dc10105ad224c15557c278cee
parent 4df44445551274e9964715916e9128c903bc6b82
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed Oct 12 23:00:14 +0300

Use platform.h in platform_inline.h

Diffstat:
platform_inline.h | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/platform_inline.h b/platform_inline.h @@ -1,9 +1,11 @@ #ifndef _PLATFORM_INLINE_H_ #define _PLATFORM_INLINE_H_ -#if defined( __GNUC__ ) +#include "platform.h" + +#if COMPILER_GCCORCLANG #define FORCE_INLINE __attribute__((always_inline)) -#elif defined( _MSC_VER ) +#elif COMPILER_MSVC #define FORCE_INLINE __forceinline #elif #error unrecognised compiler