| Previous | 199869 Revisions | Next |
| r32786 Friday 17th October, 2014 at 12:58:00 UTC by smf |
|---|
| fixes for building with VS14 CTP4 (nw) |
| [src/osd/windows] | windows.mak winprefix.h |
| r32785 | r32786 | |
|---|---|---|
| 221 | 221 | LDFLAGS += /ENTRY:wmainCRTStartup |
| 222 | 222 | |
| 223 | 223 | # add some VC++-specific defines |
| 224 | DEFS += -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DXML_STATIC -D | |
| 224 | DEFS += -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DXML_STATIC -DWIN32 | |
| 225 | 225 | |
| 226 | 226 | OSDCLEAN = msvcclean |
| 227 | 227 |
| r32785 | r32786 | |
|---|---|---|
| 18 | 18 | #if _MSC_VER < 1500 |
| 19 | 19 | #define vsnprintf _vsnprintf |
| 20 | 20 | #endif |
| 21 | #if _MSC_VER < 1900 | |
| 22 | #define snprintf _snprintf | |
| 23 | #else | |
| 24 | #pragma warning (disable: 4091) | |
| 25 | #pragma warning (disable: 4267) | |
| 26 | #pragma warning (disable: 4456 4457 4458 4459) | |
| 27 | #pragma warning (disable: 4463) | |
| 28 | #pragma warning (disable: 4838) | |
| 29 | #pragma warning (disable: 5025 5026 5027) | |
| 30 | #define _CRT_STDIO_LEGACY_WIDE_SPECIFIERS | |
| 21 | 31 | #endif |
| 32 | #endif | |
| 22 | 33 | |
| 23 | 34 | #ifdef __GNUC__ |
| 24 | 35 | #ifndef alloca |
| Previous | 199869 Revisions | Next |