diff options
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 1e46cc5..25dbd31 100644 --- a/psycopg/python.h +++ b/psycopg/python.h @@ -97,6 +97,7 @@ #define PyString_FromFormat PyUnicode_FromFormat #define Py_TPFLAGS_HAVE_ITER 0L #define Py_TPFLAGS_HAVE_RICHCOMPARE 0L +#define Py_TPFLAGS_HAVE_WEAKREFS 0L #ifndef PyNumber_Int #define PyNumber_Int PyNumber_Long #endif |