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

trunk/src/osd/windows/windows.mak
r32785r32786
221221LDFLAGS += /ENTRY:wmainCRTStartup
222222
223223# add some VC++-specific defines
224DEFS += -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DXML_STATIC -Dsnprintf=_snprintf -DWIN32
224DEFS += -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DXML_STATIC -DWIN32
225225
226226OSDCLEAN = msvcclean
227227
trunk/src/osd/windows/winprefix.h
r32785r32786
1818#if _MSC_VER < 1500
1919#define vsnprintf _vsnprintf
2020#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
2131#endif
32#endif
2233
2334#ifdef __GNUC__
2435#ifndef alloca

Previous 199869 Revisions Next


© 1997-2024 The MAME Team