summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 28e1eded3..4c590eea1 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -457,7 +457,7 @@ int main(int argc, char **argv)
('SIZEOF_LONG', 'long'),
('SIZEOF_FLOAT', 'float'),
('SIZEOF_DOUBLE', 'double'),
- ('SIZEOF_LONG_DOUBLE', 'long double'),
+ #('SIZEOF_LONG_DOUBLE', 'long double'),
('SIZEOF_PY_INTPTR_T', 'Py_intptr_t'),
]:
testcode.append(c_size_test % {'sz' : sz, 'type' : t})
@@ -473,6 +473,7 @@ int main(int argc, char **argv)
#else
fprintf(fp, "/* PY_LONG_LONG not defined */\n");
#endif
+ fprintf(fp, "#define SIZEOF_LONG_DOUBLE 8\n");
#ifndef CHAR_BIT
{
unsigned char var = 2;