File tree 3 files changed +9
-5
lines changed
3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,9 @@ else (UNIX)
294
294
endif ()
295
295
endif ()
296
296
297
+ if (NOT (MSVC_VERSION LESS 1700))
298
+ add_definitions (/D_ALLOW_KEYWORD_MACROS)
299
+ endif ()
297
300
endif ()
298
301
299
302
if (GAME_DEVICE_SUPPORT)
Original file line number Diff line number Diff line change 142
142
// we don't want to use NULL since it's old and nasty, so replace any
143
143
// usages with nullptr (warning: this could break many things).
144
144
// if not c++0x yet, future proof code by allowing use of nullptr
145
- #ifdef nullptr
146
- #define NULL nullptr
147
- #else
148
- #define nullptr NULL
145
+ #if !(defined(_MSC_VER ) && _MSC_VER >= 1700 )
146
+ # ifdef nullptr
147
+ # define NULL nullptr
148
+ # else
149
+ # define nullptr NULL
150
+ # endif
149
151
#endif
150
152
151
153
// make assert available since we use it a lot
Original file line number Diff line number Diff line change 37
37
#include " CArch.h"
38
38
#include " CArchMiscWindows.h"
39
39
#include < string.h>
40
- #include < pbt.h>
41
40
42
41
//
43
42
// add backwards compatible multihead support (and suppress bogus warning).
You can’t perform that action at this time.
0 commit comments