MSVC/portable-jane.h: don't redefine _CRT_SECURE_NO_WARNINGS

This commit is contained in:
Frank Denis 2013-09-24 13:42:23 -07:00
parent 8086d6f696
commit 02bb86d18b

View File

@ -121,7 +121,9 @@
/* 0100-compiler-100-msvc.h */ /* 0100-compiler-100-msvc.h */
#if defined(_MSC_VER) #if defined(_MSC_VER)
#define _CRT_SECURE_NO_WARNINGS #ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
#endif
#pragma warning(disable : 4127) /* conditional expression is constant */ #pragma warning(disable : 4127) /* conditional expression is constant */
#pragma warning(disable : 4100) /* unreferenced formal parameter */ #pragma warning(disable : 4100) /* unreferenced formal parameter */