From: Marcus Boerger Date: Tue, 20 Dec 2005 21:10:43 +0000 (+0000) Subject: - Get rid of compiler warnings (both postgres an dphp use these defines) X-Git-Tag: php-5.1.2RC1~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=81c25d8700fdf398926e307ae1234b1b1fc9ea9b;p=php - Get rid of compiler warnings (both postgres an dphp use these defines) --- diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c index c1feef173a..f1fed1cc36 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -30,6 +30,11 @@ #include "pdo/php_pdo.h" #include "pdo/php_pdo_driver.h" +#undef PACKAGE_BUGREPORT +#undef PACKAGE_NAME +#undef PACKAGE_STRING +#undef PACKAGE_TARNAME +#undef PACKAGE_VERSION #include "pg_config.h" /* needed for PG_VERSION */ #include "php_pdo_pgsql.h" #include "php_pdo_pgsql_int.h" diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index bc5444aac5..287b7dd0d2 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -36,6 +36,12 @@ #include "php_ini.h" #include "ext/standard/php_standard.h" #include "ext/standard/php_smart_str.h" + +#undef PACKAGE_BUGREPORT +#undef PACKAGE_NAME +#undef PACKAGE_STRING +#undef PACKAGE_TARNAME +#undef PACKAGE_VERSION #include "php_pgsql.h" #include "php_globals.h" #include "zend_exceptions.h"