From: Dan Kalowsky Date: Thu, 31 Oct 2002 02:57:06 +0000 (+0000) Subject: Patch for windows DSN less connection #20086 (by john@johnandlouise.com) X-Git-Tag: php-4.3.0RC1~400 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d74a72dfdbe1c87939b7324d813e9f1d0d0454f;p=php Patch for windows DSN less connection #20086 (by john@johnandlouise.com) --- 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 */ {