Fixed _CRT_SECURE_NO_WARNINGS macro redefinition warning

This commit is contained in:
Serhat Eser Erdem 2014-04-17 14:06:15 +02:00
parent 6ee53e7d49
commit ca5d684a2b
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#if defined( _MSC_VER )
#define _CRT_SECURE_NO_WARNINGS // This test file is not intended to be secure.
#if !defined( _CRT_SECURE_NO_WARNINGS )
#define _CRT_SECURE_NO_WARNINGS // This test file is not intended to be secure.
#endif
#endif
#include "tinyxml2.h"