summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.c
diff options
context:
space:
mode:
authorDan Kalowsky <kalowsky@php.net>2002-10-31 02:57:06 +0000
committerDan Kalowsky <kalowsky@php.net>2002-10-31 02:57:06 +0000
commit7d74a72dfdbe1c87939b7324d813e9f1d0d0454f (patch)
treeeab789b9dbfa30268da481e594e0820bbd8177ce /ext/odbc/php_odbc.c
parent409e4c00f4b174b542381c3c8e8fcf64b5020cee (diff)
downloadphp-git-7d74a72dfdbe1c87939b7324d813e9f1d0d0454f.tar.gz
Patch for windows DSN less connection #20086 (by john@johnandlouise.com)
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r--ext/odbc/php_odbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index 1ef4280aec..aba1aa3915 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -2107,7 +2107,7 @@ int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int
}
/* Possible fix for bug #10250
* Needs testing on UnixODBC < 2.0.5 though. */
-#if defined(HAVE_EMPRESS) || defined(HAVE_UNIXODBC)
+#if defined(HAVE_EMPRESS) || defined(HAVE_UNIXODBC) || defined(PHP_WIN32)
/* * Uncomment the line above, and comment line below to fully test
* #ifdef HAVE_EMPRESS */
{