summaryrefslogtreecommitdiff
path: root/numpy/random/bscript
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/random/bscript')
-rw-r--r--numpy/random/bscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/bscript b/numpy/random/bscript
index 3e509159f..c548f29e8 100644
--- a/numpy/random/bscript
+++ b/numpy/random/bscript
@@ -9,7 +9,7 @@ def configure(context):
conf = context.waf_context
conf.env.USE_WINCRYPT = False
- if conf.check_declaration("_WIN32"):
+ if conf.check_declaration("_WIN32", mandatory=False):
conf.env.USE_WINCRYPT = True
conf.env.NEEDS_MINGW32_WORKAROUND = False