summaryrefslogtreecommitdiffstats
path: root/dev-lang/php/files/php529-ds-odbc64.patch
blob: 249b948c8a349f5dd5ec21d63f73a65dc0a38945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -dPNur php-5.2.9/ext/pdo_odbc/php_pdo_odbc_int.h php-5.2.9-new/ext/pdo_odbc/php_pdo_odbc_int.h
--- php-5.2.9/ext/pdo_odbc/php_pdo_odbc_int.h	2008-12-31 12:17:42.000000000 +0100
+++ php-5.2.9-new/ext/pdo_odbc/php_pdo_odbc_int.h	2009-06-15 01:35:47.000000000 +0200
@@ -134,7 +134,11 @@
 typedef struct {
 	char *data;
 	unsigned long datalen;
-	long fetched_len;
+#ifdef SQLLEN
+	SQLLEN fetched_len;
+#else
+	SQLINTEGER fetched_len;
+#endif
 	SWORD	coltype;
 	char colname[128];
 	unsigned is_long;