diff options
author | Sascha Schumann <sas@php.net> | 2000-06-08 06:16:22 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-06-08 06:16:22 +0000 |
commit | d180634e070205632d1d9351d72cdb74b66d7761 (patch) | |
tree | 8778e105e9f3f51394aae4483aab08bcf3ada0a4 /main/php.h | |
parent | e49ad341bd898b31bdb03ae7f032f476297418a1 (diff) | |
download | php-git-d180634e070205632d1d9351d72cdb74b66d7761.tar.gz |
Add PHP_BROKEN_SPRINTF check here.
Also remove unnecessary #ifdef's for PACKAGE and VERSION.
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/main/php.h b/main/php.h index 59fdf6a370..5af3f98e83 100644 --- a/main/php.h +++ b/main/php.h @@ -35,15 +35,15 @@ #include "php_compat.h" /* automake defines PACKAGE and VERSION for Zend too */ -#ifdef PACKAGE -# undef PACKAGE -#endif -#ifdef VERSION -# undef VERSION -#endif +#undef PACKAGE +#undef VERSION #include "zend_API.h" +#if PHP_BROKEN_SPRINTF +#undef sprintf +#define sprintf php_sprintf +#endif extern unsigned char first_arg_force_ref[]; extern unsigned char first_arg_allow_ref[]; |