From f3266e70274117c11e4bac78f47f5201d8df86b4 Mon Sep 17 00:00:00 2001 From: Andreas Schiffler Date: Sun, 30 Dec 2012 11:12:31 -0800 Subject: [PATCH] Add define to surface suite to quiet VS compiler warnings --- test/testautomation_surface.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/testautomation_surface.c b/test/testautomation_surface.c index 720097982..a3c79d998 100644 --- a/test/testautomation_surface.c +++ b/test/testautomation_surface.c @@ -3,6 +3,10 @@ * Adapted/rewritten for test lib by Andreas Schiffler */ +/* Supress C4996 VS compiler warnings for unlink() */ +#define _CRT_SECURE_NO_DEPRECATE +#define _CRT_NONSTDC_NO_DEPRECATE + #include #include