summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/bscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/bscript b/numpy/core/bscript
index 5537c2e93..8f2a45dce 100644
--- a/numpy/core/bscript
+++ b/numpy/core/bscript
@@ -233,7 +233,7 @@ def check_math_runtime(conf):
NUMPYCONFIG_SYM.append(('DEFINE_NPY_HAVE_DECL_%s' % f.upper(), ''))
def check_complex(conf):
- if conf.check_header("complex.h"):
+ if conf.check_header("complex.h", mandatory=False):
NUMPYCONFIG_SYM.append(('DEFINE_NPY_USE_C99_COMPLEX',
'#define NPY_USE_C99_COMPLEX 1'))
for t in C99_COMPLEX_TYPES: