From 418cc99ffd56b0f5e2c753355fc8f29672fb82ba Mon Sep 17 00:00:00 2001 From: Nuno Goncalves Date: Sat, 13 Jul 2019 14:52:40 +0200 Subject: Add missing define of _WINSOCKAPI_ to avoid unintentional of winsock Signed-off-by: Nuno Goncalves --- src/lib/utils/os_utils.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/utils') diff --git a/src/lib/utils/os_utils.cpp b/src/lib/utils/os_utils.cpp index a27e9117f..84a2d0ebe 100644 --- a/src/lib/utils/os_utils.cpp +++ b/src/lib/utils/os_utils.cpp @@ -47,6 +47,7 @@ #if defined(BOTAN_TARGET_OS_HAS_WIN32) #define NOMINMAX 1 + #define _WINSOCKAPI_ // stop windows.h including winsock.h #include #endif -- cgit v1.2.3