From d180634e070205632d1d9351d72cdb74b66d7761 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 8 Jun 2000 06:16:22 +0000 Subject: Add PHP_BROKEN_SPRINTF check here. Also remove unnecessary #ifdef's for PACKAGE and VERSION. --- main/php.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'main/php.h') 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[]; -- cgit v1.2.1