diff options
author | Pauli Virtanen <pav@iki.fi> | 2011-10-08 15:09:41 +0200 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2011-10-08 15:14:31 +0200 |
commit | fcae1eda38cfe8daba63d79356c2d231ef311721 (patch) | |
tree | c9815443512b997a285febfb2e58a5d27d4c552f | |
parent | 35952aaed7caa1307a7551c053d0ac57fef047d4 (diff) | |
download | numpy-fcae1eda38cfe8daba63d79356c2d231ef311721.tar.gz |
BUG: core: fix compilation for UCS-narrow
-rw-r--r-- | numpy/core/include/numpy/noprefix.h | 1 | ||||
-rw-r--r-- | numpy/core/include/numpy/old_defines.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/include/numpy/noprefix.h b/numpy/core/include/numpy/noprefix.h index 6c969838f..8bb7a6eb2 100644 --- a/numpy/core/include/numpy/noprefix.h +++ b/numpy/core/include/numpy/noprefix.h @@ -122,7 +122,6 @@ compatibility measure*/ #define BITSOF_DATETIME NPY_BITSOF_DATETIME #define BITSOF_TIMEDELTA NPY_BITSOF_TIMEDELTA -#define PyArray_UCS4 npy_ucs4 #define _pya_malloc PyArray_malloc #define _pya_free PyArray_free #define _pya_realloc PyArray_realloc diff --git a/numpy/core/include/numpy/old_defines.h b/numpy/core/include/numpy/old_defines.h index 8c83a70a2..1607313b7 100644 --- a/numpy/core/include/numpy/old_defines.h +++ b/numpy/core/include/numpy/old_defines.h @@ -173,3 +173,5 @@ #define PyArray_USE_PYMEM NPY_USE_PYMEM #define PyArray_RemoveLargest PyArray_RemoveSmallest + +#define PyArray_UCS4 npy_ucs4 |