summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-08-03 09:39:42 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-08-03 09:39:42 +0000
commit18fb7c2628b0ee88128048ec9c71b55d3be1c6ad (patch)
tree54c83bac2122f3a2887701869d69d392778766c5
parent4a0807f9e770fcc139601f6646ef71af90dc90d1 (diff)
downloadnumpy-18fb7c2628b0ee88128048ec9c71b55d3be1c6ad.tar.gz
Revert revision, 5596 commited by error.
-rw-r--r--numpy/core/include/numpy/ndarrayobject.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/numpy/core/include/numpy/ndarrayobject.h b/numpy/core/include/numpy/ndarrayobject.h
index 33c165c15..837d8157f 100644
--- a/numpy/core/include/numpy/ndarrayobject.h
+++ b/numpy/core/include/numpy/ndarrayobject.h
@@ -971,22 +971,6 @@ typedef Py_uintptr_t npy_uintp;
#define NPY_INTP_FMT "Ld"
#endif
-/* If available, use formats in inttypes for (u)intp types. */
-#ifdef HAVE_UINTPTR_T /* set in pyconfig.h */
- #ifdef HAVE_INTTYPES_H /* set in pyconfig.h */
- #include <inttypes.h>
-
- #undef NPY_MAX_INTP
- #undef NPY_MIN_INTP
- #undef NPY_MAX_UINTP
- #undef NPY_INTP_FMT
- #define NPY_MAX_INTP INTPTR_MAX
- #define NPY_MIN_INTP INTPTR_MIN
- #define NPY_MAX_UINTP UINTPTR_MAX
- #define NPY_INTP_FMT PRIdPTR
- #endif
-#endif
-
#define NPY_ERR(str) fprintf(stderr, #str); fflush(stderr);
#define NPY_ERR2(str) fprintf(stderr, str); fflush(stderr);