diff options
Diffstat (limited to 'psycopg/microprotocols_proto.h')
-rw-r--r-- | psycopg/microprotocols_proto.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/psycopg/microprotocols_proto.h b/psycopg/microprotocols_proto.h index c9203ee..45de4cc 100644 --- a/psycopg/microprotocols_proto.h +++ b/psycopg/microprotocols_proto.h @@ -22,22 +22,23 @@ #ifndef PSYCOPG_ISQLQUOTE_H #define PSYCOPG_ISQLQUOTE_H 1 +#define PY_SSIZE_T_CLEAN #include <Python.h> #include <libpq-fe.h> #ifdef __cplusplus extern "C" { #endif - + extern PyTypeObject isqlquoteType; typedef struct { PyObject_HEAD PyObject *wrapped; - + } isqlquoteObject; - + #ifdef __cplusplus } #endif |