summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index d68605c19..4616212f1 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -223,7 +223,9 @@
#include <malloc.h> // alloca()
#define NORETURN __declspec(noreturn)
- #define inline __forceinline
+ #if (_MSC_VER < 1900)
+ #define inline __forceinline
+ #endif
#if !defined(WINCE)
#define CDECL _cdecl