KWIML: Avoid redefining _CRT_SECURE_NO_DEPRECATE in test.h

If the including project defines this macro do not re-define it
in the test header.
This commit is contained in:
Brad King 2011-11-12 07:59:53 -05:00
parent 831badeca2
commit 553acec76b
1 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,9 @@
#define KWIML_HEADER1(x) <x>
/* Quiet MS standard library deprecation warnings. */
#define _CRT_SECURE_NO_DEPRECATE
#ifndef _CRT_SECURE_NO_DEPRECATE
# define _CRT_SECURE_NO_DEPRECATE
#endif
#else
# error "test.h included multiple times."