summaryrefslogtreecommitdiff
path: root/databases/postgresql-odbc/files/patch-odbcapi30.c
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2009-01-27 05:13:10 +0000
committerMax Khon <fjoe@FreeBSD.org>2009-01-27 05:13:10 +0000
commit3f65f803c1a50cc5084e81709f115916aeef47cc (patch)
tree19c8e5949ee8b520eaf3343bbacd12b015b5b8fe /databases/postgresql-odbc/files/patch-odbcapi30.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)
Notes
Notes: svn path=/head/; revision=226944
Diffstat (limited to 'databases/postgresql-odbc/files/patch-odbcapi30.c')
-rw-r--r--databases/postgresql-odbc/files/patch-odbcapi30.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/postgresql-odbc/files/patch-odbcapi30.c b/databases/postgresql-odbc/files/patch-odbcapi30.c
new file mode 100644
index 000000000000..58d277bdffd6
--- /dev/null
+++ b/databases/postgresql-odbc/files/patch-odbcapi30.c
@@ -0,0 +1,13 @@
+--- odbcapi30.c.orig 2009-01-26 23:20:59.000000000 +0600
++++ odbcapi30.c 2009-01-26 23:21:47.000000000 +0600
+@@ -118,9 +118,7 @@
+ SQLPOINTER CharacterAttribute,
+ SQLSMALLINT BufferLength,
+ SQLSMALLINT *StringLength,
+-#if defined(_WIN64)
+- SQLLEN *NumericAttribute
+-#elif defined(WITH_UNIXODBC) || defined(WIN32)
++#if defined(WIN32)
+ SQLPOINTER NumericAttribute
+ #else
+ SQLLEN *NumericAttribute