diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-10-15 22:56:20 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-10-15 22:59:14 +0200 |
commit | 89d627ee05eac6b188ad27d30b4f6a893392f9ce (patch) | |
tree | c9746dddf9425b741ffe956dec14a54c441adb72 /numpy/core/setup.py | |
parent | e2218a6984b756a1806041f8fb6869f63365ad10 (diff) | |
download | numpy-89d627ee05eac6b188ad27d30b4f6a893392f9ce.tar.gz |
BLD: change expected type sizes to 64 bit
64 bit is more common these days, so switch the expected type sizes to
values common on this platform. This removes a few compile tests. The
expected sizes are just hints and do not have to be correct.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 930c6b938..9e1f6df23 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -279,11 +279,11 @@ def check_types(config_cmd, ext, build_dir): expected['long'] = [8, 4] expected['float'] = [4] expected['double'] = [8] - expected['long double'] = [8, 12, 16] - expected['Py_intptr_t'] = [4, 8] + expected['long double'] = [16, 12, 8] + expected['Py_intptr_t'] = [8, 4] expected['PY_LONG_LONG'] = [8] expected['long long'] = [8] - expected['off_t'] = [4, 8] + expected['off_t'] = [8, 4] # Check we have the python header (-dev* packages on Linux) result = config_cmd.check_header('Python.h') |