summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Halchenko <debian@onerussian.com>2013-10-17 16:28:59 +0000
committerCharles Harris <charlesr.harris@gmail.com>2013-10-17 12:41:47 -0600
commit876f416ef43f37b13615adfadcdeca39551bdb58 (patch)
treeea02c6d4e93a7e77fb8c7abf6ae546cfbdf2653a
parentaf2b52ec162395e5ca034933ec621868bcaf9bc1 (diff)
downloadnumpy-876f416ef43f37b13615adfadcdeca39551bdb58.tar.gz
BUG: multiarray/mapping -- address for former renaming of array_ass_big_item
Lead to build failures on s390 (32bit user space). Patch by Charles Harris
-rw-r--r--numpy/core/src/multiarray/mapping.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/numpy/core/src/multiarray/mapping.h b/numpy/core/src/multiarray/mapping.h
index ff11fbca3..224e28412 100644
--- a/numpy/core/src/multiarray/mapping.h
+++ b/numpy/core/src/multiarray/mapping.h
@@ -26,16 +26,7 @@ NPY_NO_EXPORT PyObject *
array_subscript(PyArrayObject *self, PyObject *op);
NPY_NO_EXPORT int
-array_ass_big_item(PyArrayObject *self, npy_intp i, PyObject *v);
-
-/* SIZEOF_SIZE_T is nowhere defined, Py_ssize_t perhaps?*/
-#if SIZEOF_SIZE_T == NPY_SIZEOF_INTP
-#define array_ass_item array_ass_big_item
-#else
-NPY_NO_EXPORT int
-_array_ass_item(PyArrayObject *self, Py_ssize_t i, PyObject *v);
-#define array_ass_item _array_ass_item
-#endif
+array_ass_item(PyArrayObject *self, Py_ssize_t i, PyObject *v);
NPY_NO_EXPORT PyObject *
add_new_axes_0d(PyArrayObject *, int);