windows: Disable _CRT_SECURE_NO_WARNINGS again.

This commit is contained in:
Ryan C. Gordon 2017-08-16 21:19:16 -04:00
parent 7607eeeb00
commit 5fb9119ebc
3 changed files with 8 additions and 1 deletions

View File

@ -15,7 +15,7 @@
#endif
/* Turn off MSVC warnings that are aggressively anti-portability. */
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS 1
#endif

View File

@ -16,6 +16,10 @@
#undef UNICODE
#endif
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS 1
#endif
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>

View File

@ -17,6 +17,9 @@
#ifdef PHYSFS_PLATFORM_WINRT
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS 1
#endif
#include <windows.h>
#include "physfs_internal.h"