aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy
diff options
context:
space:
mode:
authorlloyd <lloyd@randombit.net>2014-02-02 17:11:32 +0000
committerlloyd <lloyd@randombit.net>2014-02-02 17:11:32 +0000
commitd93eb71f1c2f1a74fbdde5e82d7f7c5e0a0ee4f0 (patch)
treef6fee14714dc05a1d0a1d30cbfc01ba1b7aa356c /src/lib/entropy
parent5492417158c2eca5ba8c3eb3c7370749d125fac4 (diff)
Avoid Windows macro damage. Github issue 13.
Diffstat (limited to 'src/lib/entropy')
-rw-r--r--src/lib/entropy/cryptoapi_rng/es_capi.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/entropy/cryptoapi_rng/es_capi.cpp b/src/lib/entropy/cryptoapi_rng/es_capi.cpp
index a706b4d5c..fa2d09628 100644
--- a/src/lib/entropy/cryptoapi_rng/es_capi.cpp
+++ b/src/lib/entropy/cryptoapi_rng/es_capi.cpp
@@ -9,6 +9,8 @@
#include <botan/parsing.h>
#include <windows.h>
#include <wincrypt.h>
+#undef min
+#undef max
namespace Botan {