[Numpy-svn] r6333 - trunk/numpy/core/src

numpy-svn@scip... numpy-svn@scip...
Sat Jan 24 02:02:38 CST 2009


Author: cdavid
Date: 2009-01-24 02:02:14 -0600 (Sat, 24 Jan 2009)
New Revision: 6333

Modified:
   trunk/numpy/core/src/scalartypes.inc.src
Log:
Fix compilation error on 2.4.

Modified: trunk/numpy/core/src/scalartypes.inc.src
===================================================================
--- trunk/numpy/core/src/scalartypes.inc.src	2009-01-22 18:21:32 UTC (rev 6332)
+++ trunk/numpy/core/src/scalartypes.inc.src	2009-01-24 08:02:14 UTC (rev 6333)
@@ -2254,7 +2254,9 @@
     0, 	/* nb_inplace_floor_divide */
     0, 	/* nb_inplace_true_divide */
     /* Added in release 2.5 */
+#if PY_VERSION_HEX >= 0x02050000
     0, 	/* nb_index */
+#endif
 };
 
 static PyObject *



More information about the Numpy-svn mailing list