Add define to surface suite to quiet VS compiler warnings
authorAndreas Schiffler <aschiffler@ferzkopp.net>
Sun, 30 Dec 2012 11:12:31 -0800
changeset 6780 111b37940b35
parent 6779 c3b579c78059
child 6781 17a9b53a5ac3
Add define to surface suite to quiet VS compiler warnings
test/testautomation_surface.c
--- a/test/testautomation_surface.c	Sun Dec 30 10:58:18 2012 -0800
+++ b/test/testautomation_surface.c	Sun Dec 30 11:12:31 2012 -0800
@@ -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 <stdio.h>
 #include <sys/stat.h>