From: Sascha Schumann Date: Thu, 8 Jun 2000 06:16:22 +0000 (+0000) Subject: Add PHP_BROKEN_SPRINTF check here. X-Git-Tag: PRE_EIGHT_BYTE_ALLOC_PATCH~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d180634e070205632d1d9351d72cdb74b66d7761;p=php Add PHP_BROKEN_SPRINTF check here. Also remove unnecessary #ifdef's for PACKAGE and VERSION. --- 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[];