File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 3434#ifdef _POSIX_C_SOURCE
3535# undef _POSIX_C_SOURCE
3636#endif
37+ #ifndef _AIX
3738#ifdef _XOPEN_SOURCE
3839# undef _XOPEN_SOURCE
3940#endif
41+ #endif
4042#include < Python.h>
4143
4244/* ==========================================================================
Original file line number Diff line number Diff line change @@ -16,9 +16,11 @@ extern "C" {
1616# ifdef _POSIX_C_SOURCE
1717# undef _POSIX_C_SOURCE
1818# endif
19+ # ifndef _AIX
1920# ifdef _XOPEN_SOURCE
2021# undef _XOPEN_SOURCE
2122# endif
23+ # endif
2224}
2325
2426#include " numpy_cpp.h"
Original file line number Diff line number Diff line change @@ -14,9 +14,11 @@ typedef unsigned __int8 uint8_t;
1414#ifdef _POSIX_C_SOURCE
1515# undef _POSIX_C_SOURCE
1616#endif
17+ #ifndef _AIX
1718#ifdef _XOPEN_SOURCE
1819# undef _XOPEN_SOURCE
1920#endif
21+ #endif
2022
2123// Prevent multiple conflicting definitions of swab from stdlib.h and unistd.h
2224#if defined(__sun) || defined(sun)
Original file line number Diff line number Diff line change 2121#ifdef _POSIX_C_SOURCE
2222# undef _POSIX_C_SOURCE
2323#endif
24+ #ifndef _AIX
2425#ifdef _XOPEN_SOURCE
2526# undef _XOPEN_SOURCE
2627#endif
28+ #endif
2729
2830// Prevent multiple conflicting definitions of swab from stdlib.h and unistd.h
2931#if defined(__sun) || defined(sun)
You can’t perform that action at this time.
0 commit comments