diff options
| author | Marcus Boerger <helly@php.net> | 2005-12-20 21:10:43 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2005-12-20 21:10:43 +0000 |
| commit | 81c25d8700fdf398926e307ae1234b1b1fc9ea9b (patch) | |
| tree | bfe4d870a850e03de933f67bbaf7a03e6a306c09 | |
| parent | 48336bcd7152a58dfefa74fc19ed7fb4be904a96 (diff) | |
| download | php-git-81c25d8700fdf398926e307ae1234b1b1fc9ea9b.tar.gz | |
- Get rid of compiler warnings (both postgres an dphp use these defines)
| -rw-r--r-- | ext/pdo_pgsql/pgsql_driver.c | 5 | ||||
| -rw-r--r-- | ext/pgsql/pgsql.c | 6 |
2 files changed, 11 insertions, 0 deletions
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" |
