File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 64
64
typedefs ['unsigned_long' ] = 'typedef unsigned long unsigned_long;'
65
65
typedefs ['signed_char' ] = 'typedef signed char signed_char;'
66
66
typedefs ['long_long' ] = """\
67
- #ifdef _WIN32
67
+ #if defined(NPY_OS_WIN32)
68
68
typedef __int64 long_long;
69
69
#else
70
70
typedef long long long_long;
71
71
typedef unsigned long long unsigned_long_long;
72
72
#endif
73
73
"""
74
74
typedefs ['unsigned_long_long' ] = """\
75
- #ifdef _WIN32
75
+ #if defined(NPY_OS_WIN32)
76
76
typedef __uint64 long_long;
77
77
#else
78
78
typedef unsigned long long unsigned_long_long;
Original file line number Diff line number Diff line change 126
126
127
127
/* Unconditionally included */
128
128
#include <Python.h>
129
+ #include <numpy/npy_os.h>
129
130
130
131
""" + gentitle ("See f2py2e/cfuncs.py: includes" ) + """
131
132
#includes#
You can’t perform that action at this time.
0 commit comments