diff options
| author | Federico Di Gregorio <fog@initd.org> | 2006-10-29 03:12:51 +0000 |
|---|---|---|
| committer | Federico Di Gregorio <fog@initd.org> | 2006-10-29 03:12:51 +0000 |
| commit | f4dc6936a27afc8d4e5b74b3aae33e9dfed32670 (patch) | |
| tree | 77aaa0f62cc71ebdd13859706c02c37e81fa7eb2 | |
| parent | 0f5e4e734026b15f7788317af541e2009d23bf3a (diff) | |
| download | psycopg2-f4dc6936a27afc8d4e5b74b3aae33e9dfed32670.tar.gz | |
Builds again on win32 (closes: #132).
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | psycopg/adapter_asis.h | 2 | ||||
| -rw-r--r-- | psycopg/adapter_binary.h | 2 | ||||
| -rw-r--r-- | psycopg/adapter_datetime.h | 2 | ||||
| -rw-r--r-- | psycopg/adapter_list.h | 2 | ||||
| -rw-r--r-- | psycopg/adapter_mxdatetime.h | 2 | ||||
| -rw-r--r-- | psycopg/adapter_pboolean.h | 2 | ||||
| -rw-r--r-- | psycopg/adapter_qstring.h | 2 | ||||
| -rw-r--r-- | psycopg/connection.h | 2 | ||||
| -rw-r--r-- | psycopg/cursor.h | 2 | ||||
| -rw-r--r-- | psycopg/microprotocols_proto.h | 2 |
11 files changed, 15 insertions, 10 deletions
@@ -1,3 +1,8 @@ +2006-10-29 Federico Di Gregorio <fog@initd.org> + + * Applied patch from Jason Erickson to make psycopg build + again on win32 (closes: #132). + 2006-09-30 Federico Di Gregorio <fog@initd.org> * ZpsycopgDA/DA.py: applied the infinity patch from 1.1 (fixes #122). diff --git a/psycopg/adapter_asis.h b/psycopg/adapter_asis.h index 90353b7..789dc41 100644 --- a/psycopg/adapter_asis.h +++ b/psycopg/adapter_asis.h @@ -31,7 +31,7 @@ extern "C" { extern PyTypeObject asisType; typedef struct { - PyObject_HEAD; + PyObject_HEAD /* this is the real object we wrap */ PyObject *wrapped; diff --git a/psycopg/adapter_binary.h b/psycopg/adapter_binary.h index d95caa8..5f2c781 100644 --- a/psycopg/adapter_binary.h +++ b/psycopg/adapter_binary.h @@ -32,7 +32,7 @@ extern "C" { extern PyTypeObject binaryType; typedef struct { - PyObject_HEAD; + PyObject_HEAD PyObject *wrapped; PyObject *buffer; diff --git a/psycopg/adapter_datetime.h b/psycopg/adapter_datetime.h index 5c2e473..0827fe3 100644 --- a/psycopg/adapter_datetime.h +++ b/psycopg/adapter_datetime.h @@ -31,7 +31,7 @@ extern "C" { extern PyTypeObject pydatetimeType; typedef struct { - PyObject_HEAD; + PyObject_HEAD PyObject *wrapped; int type; diff --git a/psycopg/adapter_list.h b/psycopg/adapter_list.h index e56764b..22a41b1 100644 --- a/psycopg/adapter_list.h +++ b/psycopg/adapter_list.h @@ -31,7 +31,7 @@ extern "C" { extern PyTypeObject listType; typedef struct { - PyObject_HEAD; + PyObject_HEAD PyObject *wrapped; PyObject *connection; diff --git a/psycopg/adapter_mxdatetime.h b/psycopg/adapter_mxdatetime.h index 11e5cf8..4811d53 100644 --- a/psycopg/adapter_mxdatetime.h +++ b/psycopg/adapter_mxdatetime.h @@ -31,7 +31,7 @@ extern "C" { extern PyTypeObject mxdatetimeType; typedef struct { - PyObject_HEAD; + PyObject_HEAD PyObject *wrapped; int type; diff --git a/psycopg/adapter_pboolean.h b/psycopg/adapter_pboolean.h index 392b047..d50b767 100644 --- a/psycopg/adapter_pboolean.h +++ b/psycopg/adapter_pboolean.h @@ -31,7 +31,7 @@ extern "C" { extern PyTypeObject pbooleanType; typedef struct { - PyObject_HEAD; + PyObject_HEAD /* this is the real object we wrap */ PyObject *wrapped; diff --git a/psycopg/adapter_qstring.h b/psycopg/adapter_qstring.h index 516342f..61c1a8a 100644 --- a/psycopg/adapter_qstring.h +++ b/psycopg/adapter_qstring.h @@ -31,7 +31,7 @@ extern "C" { extern PyTypeObject qstringType; typedef struct { - PyObject_HEAD; + PyObject_HEAD PyObject *wrapped; PyObject *buffer; diff --git a/psycopg/connection.h b/psycopg/connection.h index d19006e..c50ce4e 100644 --- a/psycopg/connection.h +++ b/psycopg/connection.h @@ -38,7 +38,7 @@ extern "C" { extern PyTypeObject connectionType; typedef struct { - PyObject_HEAD; + PyObject_HEAD pthread_mutex_t lock; /* the global connection lock */ diff --git a/psycopg/cursor.h b/psycopg/cursor.h index 6ae88a2..be5d928 100644 --- a/psycopg/cursor.h +++ b/psycopg/cursor.h @@ -34,7 +34,7 @@ extern "C" { extern PyTypeObject cursorType; typedef struct { - PyObject_HEAD; + PyObject_HEAD connectionObject *conn; /* connection owning the cursor */ diff --git a/psycopg/microprotocols_proto.h b/psycopg/microprotocols_proto.h index d578b04..c9203ee 100644 --- a/psycopg/microprotocols_proto.h +++ b/psycopg/microprotocols_proto.h @@ -32,7 +32,7 @@ extern "C" { extern PyTypeObject isqlquoteType; typedef struct { - PyObject_HEAD; + PyObject_HEAD PyObject *wrapped; |
