diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-06-03 01:48:24 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-06-03 01:48:24 +0100 |
commit | 0eb5e0430e405186f44ac1014243665a73268972 (patch) | |
tree | 90f5ee3ce6723792139d04343b3549fb528a9e93 /psycopg/python.h | |
parent | 5748ae14bf060aa69c97449d91253b2ba69dd23e (diff) | |
parent | 530ba7888158a7ee5b27a3c7d9c8f481e6200528 (diff) | |
download | psycopg2-0eb5e0430e405186f44ac1014243665a73268972.tar.gz |
Merge branch 'transaction-control' into devel
Diffstat (limited to 'psycopg/python.h')
-rw-r--r-- | psycopg/python.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/psycopg/python.h b/psycopg/python.h index ed69f4c..6d87fa5 100644 --- a/psycopg/python.h +++ b/psycopg/python.h @@ -105,6 +105,7 @@ typedef unsigned long Py_uhash_t; #if PY_MAJOR_VERSION > 2 #define PyInt_Type PyLong_Type +#define PyInt_Check PyLong_Check #define PyInt_AsLong PyLong_AsLong #define PyInt_FromLong PyLong_FromLong #define PyInt_FromSsize_t PyLong_FromSsize_t |