ports/databases/postgresql-odbc/files/patch-odbcapi30w.c
Max Khon 3f65f803c1 Fix build with unixODBC 2.2.14: in 2.2.14 signatures of several functions
(SQLExtendedFetch, SQLColAttribute, SQLColAttributeW) were fixed.

Approved by:    portmgr (marcus)
2009-01-27 05:13:10 +00:00

11 lines
351 B
C

--- 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