Commit e042c1de4feb419a1f9b49186ac61cab3f031c5e

Pali Rohár 2020-12-13T02:22:06

Add _CRT_SECURE_NO_WARNINGS for test.c to disable MSVC deprecation warnings

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tests/test.c b/tests/test.c
index 5d060d2..132ede6 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -23,6 +23,7 @@
  * THE SOFTWARE.
  */
 
+#define _CRT_SECURE_NO_WARNINGS
 #ifdef _DEBUG
 #define _CRTDBG_MAP_ALLOC
 #include <stdlib.h>