diff options
-rw-r--r-- | psycopg/adapter_asis.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/psycopg/adapter_asis.c b/psycopg/adapter_asis.c index e11caa0..8a5cd06 100644 --- a/psycopg/adapter_asis.c +++ b/psycopg/adapter_asis.c @@ -34,6 +34,9 @@ /** the AsIs object **/ +#if PY_MAJOR_VERSION > 2 +IGNORE_REFCOUNT /* bug davidmalcolm/gcc-python-plugin#171 */ +#endif static PyObject * asis_getquoted(asisObject *self, PyObject *args) { |