diff Modules/_sqlite/cursor.c @ 38022:3518e94aa663 legacy-trunk

Fix some warnings on Mac OS X 10.4
author Neal Norwitz <nnorwitz@gmail.com>
date Fri, 28 Apr 2006 05:28:05 +0000
parents 7da4af95ebad
children 3e5fd2b70e5a
line wrap: on
line diff
--- a/Modules/_sqlite/cursor.c	Fri Apr 28 04:34:43 2006 +0000
+++ b/Modules/_sqlite/cursor.c	Fri Apr 28 05:28:05 2006 +0000
@@ -27,8 +27,12 @@
 #include "sqlitecompat.h"
 
 /* used to decide wether to call PyInt_FromLong or PyLong_FromLongLong */
+#ifndef INT32_MIN
 #define INT32_MIN (-2147483647 - 1)
+#endif
+#ifndef INT32_MAX
 #define INT32_MAX 2147483647
+#endif
 
 PyObject* cursor_iternext(Cursor *self);