Add PHP_BROKEN_SPRINTF check here.

Also remove unnecessary #ifdef's for PACKAGE and VERSION.
This commit is contained in:
Sascha Schumann 2000-06-08 06:16:22 +00:00
parent e49ad341bd
commit d180634e07

View file

@ -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[];