cvs: php4 /ext/pgsql pgsql.c
| From: | Yasuo Ohgaki | Date: | Mon, 11 Mar 2002 07:09:13 +0000 |
| Subject: | cvs: php4 /ext/pgsql pgsql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9884@lists.php.net to get a copy of this message | ||
yohgaki Mon Mar 11 02:09:13 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fix possible build error under Windows.
# Recent libpq under windows supports PQcmdTuples, right?
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.150 php4/ext/pgsql/pgsql.c:1.151
--- php4/ext/pgsql/pgsql.c:1.150 Sat Mar 2 14:53:11 2002
+++ php4/ext/pgsql/pgsql.c Mon Mar 11 02:09:12 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.150 2002/03/02 19:53:11 derick Exp $ */
+/* $Id: pgsql.c,v 1.151 2002/03/11 07:09:12 yohgaki Exp $ */
#include <stdlib.h>
@@ -916,7 +916,7 @@
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;