From: Edin Kadribasic Date: Thu, 20 May 2004 03:02:58 +0000 (+0000) Subject: Make it compile on windows X-Git-Tag: RELEASE_0_1~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa1b0a51d36823eeed031350b2b2008bd81a662c;p=php Make it compile on windows --- diff --git a/ext/pdo_pgsql/config.w32 b/ext/pdo_pgsql/config.w32 index f65e51131d..c1d955487c 100644 --- a/ext/pdo_pgsql/config.w32 +++ b/ext/pdo_pgsql/config.w32 @@ -8,6 +8,7 @@ if (PHP_PDO_PGSQL != "no") { CHECK_HEADER_ADD_INCLUDE("libpq-fe.h", "CFLAGS_PDO_PGSQL", PHP_PHP_BUILD + "\\include\\pgsql;" + PHP_PDO_PGSQL)) { EXTENSION("pdo_pgsql", "pdo_pgsql.c pgsql_driver.c pgsql_statement.c"); ADD_FLAG('CFLAGS_PDO_PGSQL', "/I ..\\pecl"); + AC_DEFINE('HAVE_PDO_PGSQL', 1, 'Have PostgreSQL library'); } else { WARNING("pdo_pgsql not enabled; libraries and headers not found"); }