diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-11-05 14:28:32 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-11-05 14:28:32 +0000 |
commit | 41a77bccba8f597d694f5b66b289f1bba6529a26 (patch) | |
tree | 08af6f2e5544cced79c02b9b93bb960bc002d1b5 /ext | |
parent | 95314707caa61418cd1bd8b6614cb6e78021de4f (diff) | |
download | php-git-41a77bccba8f597d694f5b66b289f1bba6529a26.tar.gz |
Fix compile warning.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/pgsql/pgsql.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 70aa530229..f5bf85e7e9 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -1564,8 +1564,10 @@ PHP_FUNCTION(pg_last_oid) zval **result; PGresult *pgsql_result; pgsql_result_handle *pg_result; +#ifdef HAVE_PQOIDVALUE Oid oid; - +#endif + if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &result)==FAILURE) { WRONG_PARAM_COUNT; } |