diff options
author | Erik M. Bray <erik.bray@lri.fr> | 2016-12-12 13:07:16 +0100 |
---|---|---|
committer | Erik M. Bray <erik.bray@lri.fr> | 2016-12-13 14:35:40 +0100 |
commit | 154b2c19f392817a936aea0190e276f8228cb489 (patch) | |
tree | d763422c70a30c11f4b19efea2dc8faeaae76871 /numpy/core/setup_common.py | |
parent | ef8253f0076b8955aa3025a3651f07d61b14ea5c (diff) | |
download | numpy-154b2c19f392817a936aea0190e276f8228cb489.tar.gz |
BUG: xlocale.h is not available in newlib--all the defines used here from
xlocale.h are instead found in locale.h
Added a feature check for xlocale.h, with fallback to locale.h if it is
missing.
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r-- | numpy/core/setup_common.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py index ba7521e30..a1729e656 100644 --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py @@ -113,6 +113,7 @@ OPTIONAL_HEADERS = [ "xmmintrin.h", # SSE "emmintrin.h", # SSE2 "features.h", # for glibc version linux + "xlocale.h" # see GH#8367 ] # optional gcc compiler builtins and their call arguments and optional a |