diff options
author | Federico Di Gregorio <fog@initd.org> | 2007-04-10 06:36:18 +0000 |
---|---|---|
committer | Federico Di Gregorio <fog@initd.org> | 2007-04-10 06:36:18 +0000 |
commit | e5829292cdecd56e883733aee552d6fe2121c6ac (patch) | |
tree | c7d26880bf00e83d28e65f90aaaf5a581a33796c /psycopg/microprotocols_proto.h | |
parent | fadd1a69386ae83ef316f3aee03b2867d8d9fe12 (diff) | |
download | psycopg2-e5829292cdecd56e883733aee552d6fe2121c6ac.tar.gz |
Fixed both Python 2.5 and 64 bit problems.
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 |