diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-28 05:28:05 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-28 05:28:05 (GMT) |
commit | 82d4cc27c6b14fd6460c87d66db22e7925b04051 (patch) | |
tree | 68c66df3325a60108558d89eaf76f8c92eccf95c /Modules/_sqlite/cursor.c | |
parent | dd28d1c6c2741e4a8124112120bd262a8bbb26b1 (diff) | |
download | cpython-82d4cc27c6b14fd6460c87d66db22e7925b04051.zip cpython-82d4cc27c6b14fd6460c87d66db22e7925b04051.tar.gz cpython-82d4cc27c6b14fd6460c87d66db22e7925b04051.tar.bz2 |
Fix some warnings on Mac OS X 10.4
Diffstat (limited to 'Modules/_sqlite/cursor.c')
-rw-r--r-- | Modules/_sqlite/cursor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c index 8c72412..6ee8bea 100644 --- a/Modules/_sqlite/cursor.c +++ b/Modules/_sqlite/cursor.c @@ -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); |