From 81c25d8700fdf398926e307ae1234b1b1fc9ea9b Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 20 Dec 2005 21:10:43 +0000 Subject: [PATCH] - Get rid of compiler warnings (both postgres an dphp use these defines) --- ext/pdo_pgsql/pgsql_driver.c | 5 +++++ ext/pgsql/pgsql.c | 6 ++++++ 2 files changed, 11 insertions(+) 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" -- 2.50.1