diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/xglPlatform.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xglPlatform.h b/include/xglPlatform.h index 79f37c93..af006a24 100644 --- a/include/xglPlatform.h +++ b/include/xglPlatform.h @@ -42,9 +42,15 @@ extern "C" #if defined(_WIN32) // On Windows, XGLAPI should equate to the __stdcall convention #define XGLAPI __stdcall + + // C99: + #define STATIC_INLINE static #elif defined(__GNUC__) // On other platforms using GCC, XGLAPI stays undefined #define XGLAPI + + // C99: + #define STATIC_INLINE static inline #else // Unsupported Platform! #error "Unsupported OS Platform detected!" |
