commit | ca5d684a2b0f5fb694284ac173c506e2b5bfcdae | [log] [tgz] |
---|---|---|
author | Serhat Eser Erdem <serhat.erdem@bmw-carit.de> | Thu Apr 17 14:06:15 2014 +0200 |
committer | Serhat Eser Erdem <serhat.erdem@bmw-carit.de> | Thu Apr 17 14:06:15 2014 +0200 |
tree | 5ae550f3cfacddbf407693f34b5899a358b8dcc6 | |
parent | 6ee53e7d49a4dbfd5c1d7e67fb0228703bbe7309 [diff] [blame] |
Fixed _CRT_SECURE_NO_WARNINGS macro redefinition warning
diff --git a/xmltest.cpp b/xmltest.cpp index 6fdc162..55b597d 100644 --- a/xmltest.cpp +++ b/xmltest.cpp
@@ -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"