From 0a69505312e71ac9f88cf3686b5a8572cf6fc5bd Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Fri, 20 Apr 2018 17:34:26 +0200 Subject: [PATCH] Fix windows build --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f6f0535..5046ba5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,6 +44,7 @@ if(WIN32) -DMDNS_DEBUGMSGS=0 -DWIN32_LEAN_AND_MEAN -DUSE_TCP_LOOPBACK + -D_NO_CRT_STDIO_INLINE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1 -DNOT_HAVE_SA_LEN)