From: Yasuo Ohgaki Date: Mon, 11 Mar 2002 07:09:12 +0000 (+0000) Subject: Fix possible build error under Windows. X-Git-Tag: help~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b8fcff81b391d89cb791be7d34dc077526ac971;p=php Fix possible build error under Windows. # Recent libpq under windows supports PQcmdTuples, right? --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 6e6e5ced5f..82acc88f0c 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -916,7 +916,7 @@ static void php_pgsql_get_result_info(INTERNAL_FUNCTION_PARAMETERS, int entry_ty Z_LVAL_P(return_value) = atoi(PQcmdTuples(pgsql_result)); #else php_error(E_WARNING,"This compilation does not support %s()", - get_active_function_name(TSRMLS_C); + get_active_function_name(TSRMLS_C)); Z_LVAL_P(return_value) = 0; #endif break;