Skip to content

Commit

Permalink
BUG: fix non-mandatory win32-specific check.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Aug 28, 2011
1 parent 7129d90 commit a458b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/random/bscript
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a458b11

Please sign in to comment.