com php-src: Add missing flag: ext/pdo_pgsql/config.w32
| From: | Anatol Belski | Date: | Mon, 09 Jul 2018 13:12:52 +0000 |
| Subject: | com php-src: Add missing flag: ext/pdo_pgsql/config.w32 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102492@lists.php.net to get a copy of this message | ||
Commit: 2c43fb49d6465a56b0332393d8d86d1385dc50ec
Author: Anatol Belski <ab@php.net> Mon, 9 Jul 2018 15:12:52 +0200
Parents: ad790bea2e4a8a25c79ceab964601f3785cd2bf1
Branches: PHP-7.1 PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2c43fb49d6465a56b0332393d8d86d1385dc50ec
Log:
Add missing flag
Changed paths:
M ext/pdo_pgsql/config.w32
Diff:
diff --git a/ext/pdo_pgsql/config.w32 b/ext/pdo_pgsql/config.w32
index 2097dc2..7fe0933 100644
--- a/ext/pdo_pgsql/config.w32
+++ b/ext/pdo_pgsql/config.w32
@@ -11,6 +11,9 @@ if (PHP_PDO_PGSQL != "no") {
if (CHECK_HEADER_ADD_INCLUDE("pg_config.h", "CFLAGS_PDO_PGSQL", PHP_PDO_PGSQL
+ ";" + PHP_PHP_BUILD + "\\include\\pgsql")) {
ADD_FLAG('CFLAGS_PDO_PGSQL', "/D HAVE_PG_CONFIG_H");
}
+ if (X64) {
+ ADD_FLAG('CFLAGS_PDO_PGSQL', "/D HAVE_PG_LO64=1");
+ }
AC_DEFINE('HAVE_PDO_PGSQL', 1, 'Have PostgreSQL library');