File tree 4 files changed +8
-0
lines changed
4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 34
34
#ifdef _POSIX_C_SOURCE
35
35
# undef _POSIX_C_SOURCE
36
36
#endif
37
+ #ifndef _AIX
37
38
#ifdef _XOPEN_SOURCE
38
39
# undef _XOPEN_SOURCE
39
40
#endif
41
+ #endif
40
42
#include < Python.h>
41
43
42
44
/* ==========================================================================
Original file line number Diff line number Diff line change @@ -16,9 +16,11 @@ extern "C" {
16
16
# ifdef _POSIX_C_SOURCE
17
17
# undef _POSIX_C_SOURCE
18
18
# endif
19
+ # ifndef _AIX
19
20
# ifdef _XOPEN_SOURCE
20
21
# undef _XOPEN_SOURCE
21
22
# endif
23
+ # endif
22
24
}
23
25
24
26
#include " numpy_cpp.h"
Original file line number Diff line number Diff line change @@ -14,9 +14,11 @@ typedef unsigned __int8 uint8_t;
14
14
#ifdef _POSIX_C_SOURCE
15
15
# undef _POSIX_C_SOURCE
16
16
#endif
17
+ #ifndef _AIX
17
18
#ifdef _XOPEN_SOURCE
18
19
# undef _XOPEN_SOURCE
19
20
#endif
21
+ #endif
20
22
21
23
// Prevent multiple conflicting definitions of swab from stdlib.h and unistd.h
22
24
#if defined(__sun) || defined(sun)
Original file line number Diff line number Diff line change 21
21
#ifdef _POSIX_C_SOURCE
22
22
# undef _POSIX_C_SOURCE
23
23
#endif
24
+ #ifndef _AIX
24
25
#ifdef _XOPEN_SOURCE
25
26
# undef _XOPEN_SOURCE
26
27
#endif
28
+ #endif
27
29
28
30
// Prevent multiple conflicting definitions of swab from stdlib.h and unistd.h
29
31
#if defined(__sun) || defined(sun)
You can’t perform that action at this time.
0 commit comments