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:
parent
831badeca2
commit
553acec76b
|
@ -28,7 +28,9 @@
|
||||||
#define KWIML_HEADER1(x) <x>
|
#define KWIML_HEADER1(x) <x>
|
||||||
|
|
||||||
/* Quiet MS standard library deprecation warnings. */
|
/* Quiet MS standard library deprecation warnings. */
|
||||||
#define _CRT_SECURE_NO_DEPRECATE
|
#ifndef _CRT_SECURE_NO_DEPRECATE
|
||||||
|
# define _CRT_SECURE_NO_DEPRECATE
|
||||||
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
# error "test.h included multiple times."
|
# error "test.h included multiple times."
|
||||||
|
|
Loading…
Reference in New Issue