mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-11 03:26:37 +03:00
Fixed Python 2.4 compatibility breakage
This commit is contained in:
parent
0a33ed01f5
commit
b8953cb345
|
@ -39,6 +39,7 @@
|
|||
#define PY_SSIZE_T_MIN INT_MIN
|
||||
#define PY_SSIZE_T_MAX INT_MAX
|
||||
#define PY_FORMAT_SIZE_T ""
|
||||
#define PyInt_FromSsize_t(x) PyInt_FromLong((x))
|
||||
|
||||
#define readbufferproc getreadbufferproc
|
||||
#define writebufferproc getwritebufferproc
|
||||
|
|
Loading…
Reference in New Issue
Block a user