]> granicus.if.org Git - php/commitdiff
Patch for windows DSN less connection #20086 (by john@johnandlouise.com)
authorDan Kalowsky <kalowsky@php.net>
Thu, 31 Oct 2002 02:57:06 +0000 (02:57 +0000)
committerDan Kalowsky <kalowsky@php.net>
Thu, 31 Oct 2002 02:57:06 +0000 (02:57 +0000)
ext/odbc/php_odbc.c

index 1ef4280aec14f80092864a887988885d969c6e11..aba1aa3915e02ab51cf93ce1a480b65a18829493 100644 (file)
@@ -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 */
        {