diff options
Diffstat (limited to 'numpy/core')
-rw-r--r-- | numpy/core/include/numpy/npy_3kcompat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/include/numpy/npy_3kcompat.h b/numpy/core/include/numpy/npy_3kcompat.h index 074f2ce23..9f53dd9d2 100644 --- a/numpy/core/include/numpy/npy_3kcompat.h +++ b/numpy/core/include/numpy/npy_3kcompat.h @@ -14,8 +14,10 @@ #include <stdio.h> #if PY_VERSION_HEX >= 0x03000000 +#ifndef NPY_PY3K #define NPY_PY3K #endif +#endif #include "numpy/npy_common.h" #include "numpy/ndarrayobject.h" |