Fix some warnings on Mac OS X 10.4

This commit is contained in:
Neal Norwitz 2006-04-28 05:28:05 +00:00
parent dd28d1c6c2
commit 82d4cc27c6
3 changed files with 9 additions and 21 deletions

View file

@ -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);