Author: Matti Picus <[email protected]> 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; _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
