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/dyn_load/dyn_load.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/utils/dyn_load') diff --git a/src/lib/utils/dyn_load/dyn_load.cpp b/src/lib/utils/dyn_load/dyn_load.cpp index df6777e58..1f33dc761 100644 --- a/src/lib/utils/dyn_load/dyn_load.cpp +++ b/src/lib/utils/dyn_load/dyn_load.cpp @@ -12,6 +12,7 @@ #if defined(BOTAN_TARGET_OS_HAS_DLOPEN) #include #elif defined(BOTAN_TARGET_OS_HAS_LOADLIBRARY) + #define NOMINMAX 1 #include #endif -- cgit v1.2.3