From c8f16b889f8899dc06452508662c45f99d43fee7 Mon Sep 17 00:00:00 2001 From: Baruch Burstein Date: Mon, 28 Nov 2016 10:20:02 +0200 Subject: define NOMINMAX 1 before every include of windows.h --- src/lib/utils/os_utils.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/utils/os_utils.cpp') diff --git a/src/lib/utils/os_utils.cpp b/src/lib/utils/os_utils.cpp index 1e60596ba..d072b2c2b 100644 --- a/src/lib/utils/os_utils.cpp +++ b/src/lib/utils/os_utils.cpp @@ -20,6 +20,7 @@ #endif #if defined(BOTAN_TARGET_OS_IS_WINDOWS) || defined(BOTAN_TARGET_OS_IS_MINGW) + #define NOMINMAX 1 #include #endif -- cgit v1.2.3