From: Wez Furlong Date: Wed, 19 May 2004 21:36:22 +0000 (+0000) Subject: Fix win32 build X-Git-Tag: RELEASE_0_1~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08ce920c9ed3107da694797777b3bbc6a4b75dbe;p=php Fix win32 build --- diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c index bc618f4529..e7e832ac57 100755 --- a/ext/pdo_mysql/mysql_driver.c +++ b/ext/pdo_mysql/mysql_driver.c @@ -131,7 +131,9 @@ static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_ { "dbname", "", 0 }, { "host", "localhost", 0 }, { "port", "3306", 0 }, +#ifdef PDO_MYSQL_UNIX_ADDR { "unix_socket", PDO_MYSQL_UNIX_ADDR, 0 }, +#endif }; php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 4);