aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy/cryptoapi_rng/es_capi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/entropy/cryptoapi_rng/es_capi.cpp')
-rw-r--r--src/lib/entropy/cryptoapi_rng/es_capi.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/entropy/cryptoapi_rng/es_capi.cpp b/src/lib/entropy/cryptoapi_rng/es_capi.cpp
index a1d809d0d..1624f8946 100644
--- a/src/lib/entropy/cryptoapi_rng/es_capi.cpp
+++ b/src/lib/entropy/cryptoapi_rng/es_capi.cpp
@@ -7,10 +7,9 @@
#include <botan/internal/es_capi.h>
#include <botan/parsing.h>
+#define NOMINMAX 1
#include <windows.h>
#include <wincrypt.h>
-#undef min
-#undef max
namespace Botan {