aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2020-12-13 02:22:06 +0100
committerPali Rohár <pali.rohar@gmail.com>2020-12-13 02:22:06 +0100
commite042c1de4feb419a1f9b49186ac61cab3f031c5e (patch)
treeac6f86607df1425924c7172b04c8330bd56e29e2
parent5f1c91499486c97bcd176102549a03564a33a129 (diff)
downloaddlfcn-win32-e042c1de4feb419a1f9b49186ac61cab3f031c5e.tar.gz
dlfcn-win32-e042c1de4feb419a1f9b49186ac61cab3f031c5e.tar.bz2
dlfcn-win32-e042c1de4feb419a1f9b49186ac61cab3f031c5e.zip
Add _CRT_SECURE_NO_WARNINGS for test.c to disable MSVC deprecation warnings
-rw-r--r--tests/test.c1
1 files changed, 1 insertions, 0 deletions
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 @@
23 * THE SOFTWARE. 23 * THE SOFTWARE.
24 */ 24 */
25 25
26#define _CRT_SECURE_NO_WARNINGS
26#ifdef _DEBUG 27#ifdef _DEBUG
27#define _CRTDBG_MAP_ALLOC 28#define _CRTDBG_MAP_ALLOC
28#include <stdlib.h> 29#include <stdlib.h>