summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2010-07-17 13:11:39 +0000
committerPauli Virtanen <pav@iki.fi>2010-07-17 13:11:39 +0000
commitaffa70a89ef0f23b1fd98a68c29ab6f5796746fb (patch)
treea699300999fa3e2260dc507de2168a74b426220f /numpy
parent4fcfd09694621f2fc7aebc3ed7bf03a0a1ffbc4b (diff)
downloadnumpy-affa70a89ef0f23b1fd98a68c29ab6f5796746fb.tar.gz
TMP
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/include/numpy/npy_3kcompat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/include/numpy/npy_3kcompat.h b/numpy/core/include/numpy/npy_3kcompat.h
index 074f2ce23..9f53dd9d2 100644
--- a/numpy/core/include/numpy/npy_3kcompat.h
+++ b/numpy/core/include/numpy/npy_3kcompat.h
@@ -14,8 +14,10 @@
#include <stdio.h>
#if PY_VERSION_HEX >= 0x03000000
+#ifndef NPY_PY3K
#define NPY_PY3K
#endif
+#endif
#include "numpy/npy_common.h"
#include "numpy/ndarrayobject.h"