Commit b1b55b2ae4a3c54c5dc8a8156decf39659c11381

Silvio Traversaro 2020-12-13T12:10:41

Merge pull request #89 from pali/master 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>