From 89d627ee05eac6b188ad27d30b4f6a893392f9ce Mon Sep 17 00:00:00 2001 From: Julian Taylor Date: Wed, 15 Oct 2014 22:56:20 +0200 Subject: 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. --- numpy/core/setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'numpy/core/setup.py') 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') -- cgit v1.2.1