ports/databases/postgresql-odbc/files/patch-odbcapi30.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

13 lines
411 B
C

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