Skip to content

Commit 37e203e

Browse files
fix: constant declaration location
1 parent c58707d commit 37e203e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/pdo_pgsql/config.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ if test "$PHP_PDO_PGSQL" != "no"; then
6767
LDFLAGS="-L$PGSQL_LIBDIR $LDFLAGS"
6868

6969
AC_CHECK_LIB(pq, PQlibVersion,, AC_MSG_ERROR([Unable to build the PDO PostgreSQL driver: at least libpq 9.1 is required]))
70+
AC_CHECK_LIB(pq, PQresultMemorySize, AC_DEFINE(HAVE_PG_RESULT_MEMORY_SIZE,1,[PostgreSQL 12 or later]))
7071

7172
LIBS=$old_LIBS
7273
LDFLAGS=$old_LDFLAGS

0 commit comments

Comments
 (0)