aboutsummaryrefslogtreecommitdiffstats
path: root/databases/php5-pdo_dblib/files/patch-dblib_driver.c
blob: 6c838159288b171b6fa9e62c26e4ae2284cfd262 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- dblib_driver.c.orig 2013-08-12 16:49:42.000000000 +0200
+++ dblib_driver.c  2013-08-12 16:50:11.000000000 +0200
@@ -274,9 +274,13 @@
        ,{"5.0",DBVERSION_70} /* FIXME: This does not work with Sybase, but environ will */
        ,{"6.0",DBVERSION_70}
        ,{"7.0",DBVERSION_70}
+#ifdef DBVERSION_71
        ,{"7.1",DBVERSION_71}
+#endif
+#ifdef DBVERSION_72
        ,{"7.2",DBVERSION_72}
        ,{"8.0",DBVERSION_72}
+#endif
        ,{"10.0",DBVERSION_100}
        ,{"auto",0} /* Only works with FreeTDS. Other drivers will bork */