mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
Added Py3 compatibility macro for Py_TPFLAGS_HAVE_WEAKREFS
This commit is contained in:
parent
929d62053a
commit
9eae66e8cf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user