diff options
-rw-r--r-- | ext/pdo_pgsql/config.w32 | 1 |
1 files changed, 1 insertions, 0 deletions
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"); } |