[pypy-commit] pypy default: hard code npy_intp, py_uintp to make linux32 happy

mattip pypy.commits at gmail.com
Wed Mar 8 13:43:14 EST 2017


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r90601:e58d3c02d05c
Date: 2017-03-08 20:41 +0200
http://bitbucket.org/pypy/pypy/changeset/e58d3c02d05c/

Log:	hard code npy_intp, py_uintp to make linux32 happy

diff --git a/pypy/module/cpyext/include/_numpypy/numpy/npy_common.h b/pypy/module/cpyext/include/_numpypy/numpy/npy_common.h
--- a/pypy/module/cpyext/include/_numpypy/numpy/npy_common.h
+++ b/pypy/module/cpyext/include/_numpypy/numpy/npy_common.h
@@ -1,8 +1,8 @@
 #ifndef _NPY_COMMON_H_
 #define _NPY_COMMON_H_
 
-typedef Py_intptr_t npy_intp;
-typedef Py_uintptr_t npy_uintp;
+typedef long npy_intp;
+typedef unsigned long npy_uintp;
 typedef PY_LONG_LONG npy_longlong;
 typedef unsigned PY_LONG_LONG npy_ulonglong;
 typedef unsigned char npy_bool;


More information about the pypy-commit mailing list