8000 xlocale.h is not available in newlib / Cygwin by embray · Pull Request #8367 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

xlocale.h is not available in newlib / Cygwin #8367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions numpy/core/setup_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def check_api_version(apiversion, codegen_dir):
"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
Expand Down
8 changes: 7 additions & 1 deletion numpy/core/src/multiarray/numpyos.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@

#ifdef HAVE_STRTOLD_L
#include <stdlib.h>
#include <xlocale.h>
#ifdef HAVE_XLOCALE_H
/*
* the defines from xlocale.h are included in locale.h on some sytems;
* see gh-8367
*/
#include <xlocale.h>
#endif
#endif


Expand Down
0