summaryrefslogtreecommitdiff
path: root/numpy/core/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/SConscript')
-rw-r--r--numpy/core/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/SConscript b/numpy/core/SConscript
index 2177a8d8b..5c4e42eb8 100644
--- a/numpy/core/SConscript
+++ b/numpy/core/SConscript
@@ -100,7 +100,8 @@ for type in ('float', 'double', 'long double'):
sz = config.CheckTypeSize(complex_def)
numpyconfig_sym.append(('SIZEOF_COMPLEX_%s' % type2def(type), str(sz)))
-config.CheckLongDoubleRepresentation()
+if sys.platform != 'darwin':
+ config.CheckLongDoubleRepresentation()
for type in ('Py_intptr_t',):
check_type(type, include = "#include <Python.h>\n")