From: foobar Date: Sun, 20 Mar 2005 02:57:10 +0000 (+0000) Subject: - Fixed a warning (might also be an error with some exotic compiler) X-Git-Tag: php-5.0.1b1~738 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d46234912e65d654bfb76a6c118e8d6e44e0380;p=php - Fixed a warning (might also be an error with some exotic compiler) --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index abb6c1ba9a..c2fa2516e7 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -3489,7 +3489,7 @@ PHP_FUNCTION(pg_result_error_field) } if (fieldcode & (PG_DIAG_SEVERITY|PG_DIAG_SQLSTATE|PG_DIAG_MESSAGE_PRIMARY|PG_DIAG_MESSAGE_DETAIL |PG_DIAG_MESSAGE_HINT|PG_DIAG_STATEMENT_POSITION -#ifdef PG_DIAG_INTERNAL_POSITION && PG_DIAG_INTERNAL_QUERY +#if defined(PG_DIAG_INTERNAL_POSITION) && defined(PG_DIAG_INTERNAL_QUERY) |PG_DIAG_INTERNAL_POSITION|PG_DIAG_INTERNAL_QUERY #endif |PG_DIAG_CONTEXT|PG_DIAG_SOURCE_FILE|PG_DIAG_SOURCE_LINE