diff options
author | Max Khon <fjoe@FreeBSD.org> | 2009-01-27 05:13:10 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2009-01-27 05:13:10 +0000 |
commit | 3f65f803c1a50cc5084e81709f115916aeef47cc (patch) | |
tree | 19c8e5949ee8b520eaf3343bbacd12b015b5b8fe /databases/postgresql-odbc/files/patch-odbcapi30w.c | |
parent | - Fix ODBCINT64 and UODBCINT64 definitions in unixodbc_conf.h (diff) |
Fix build with unixODBC 2.2.14: in 2.2.14 signatures of several functions
(SQLExtendedFetch, SQLColAttribute, SQLColAttributeW) were fixed.
Approved by: portmgr (marcus)
Diffstat (limited to 'databases/postgresql-odbc/files/patch-odbcapi30w.c')
-rw-r--r-- | databases/postgresql-odbc/files/patch-odbcapi30w.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/postgresql-odbc/files/patch-odbcapi30w.c b/databases/postgresql-odbc/files/patch-odbcapi30w.c new file mode 100644 index 000000000000..65e83482a4b5 --- /dev/null +++ b/databases/postgresql-odbc/files/patch-odbcapi30w.c @@ -0,0 +1,11 @@ +--- odbcapi30w.c.orig 2009-01-26 23:23:19.000000000 +0600 ++++ odbcapi30w.c 2009-01-26 23:24:07.000000000 +0600 +@@ -255,7 +255,7 @@ + SQLPOINTER pCharAttr, + SQLSMALLINT cbCharAttrMax, + SQLSMALLINT *pcbCharAttr, +-#if defined(WITH_UNIXODBC) || (defined(WIN32) && ! defined(_WIN64)) ++#if defined(WIN32) + SQLPOINTER pNumAttr + #else + SQLLEN *pNumAttr |