From 4cb2eb4df95740661d7f1944451d2c1cb3482bcf Mon Sep 17 00:00:00 2001 From: Mark Wiebe Date: Tue, 5 Apr 2011 18:43:13 -0700 Subject: BUG: Fix Python version comparison in last patch --- numpy/core/include/numpy/ndarraytypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h index 5a8ce43d4..2a21a779e 100644 --- a/numpy/core/include/numpy/ndarraytypes.h +++ b/numpy/core/include/numpy/ndarraytypes.h @@ -314,7 +314,7 @@ typedef Py_uintptr_t npy_uintp; #define NPY_MAX_INTP NPY_MAX_LONGLONG #define NPY_MIN_INTP NPY_MIN_LONGLONG #define NPY_MAX_UINTP NPY_MAX_ULONGLONG - #if (PY_VERSION_HEX > 0x02060000) + #if (PY_VERSION_HEX >= 0x02070000) #define NPY_INTP_FMT "lld" #else #define NPY_INTP_FMT "zd" -- cgit v1.2.1