From 553acec76b2dc333a418e0218d65dacb76e30a81 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 12 Nov 2011 07:59:53 -0500 Subject: 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. --- test/test.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test.h b/test/test.h index 8abb195..b87a0e7 100644 --- a/test/test.h +++ b/test/test.h @@ -28,7 +28,9 @@ #define KWIML_HEADER1(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." -- cgit v0.12