Don't define _CRT_SECURE_NO_WARNINGS if it is already defined

This is done to avoid warnings.
This commit is contained in:
Victor Zverovich 2015-02-25 17:20:26 -08:00
parent c746122623
commit fede517b22

View File

@ -26,7 +26,9 @@
*/ */
// Disable bogus MSVC warnings. // Disable bogus MSVC warnings.
#define _CRT_SECURE_NO_WARNINGS #ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
#endif
#include "posix.h" #include "posix.h"