Browse Source

Add PHP_BROKEN_SPRINTF check here.

Also remove unnecessary #ifdef's for PACKAGE and VERSION.
PHP-4.0.5
Sascha Schumann 26 years ago
parent
commit
d180634e07
  1. 12
      main/php.h

12
main/php.h

@ -35,15 +35,15 @@
#include "php_compat.h" #include "php_compat.h"
/* automake defines PACKAGE and VERSION for Zend too */ /* 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" #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_force_ref[];
extern unsigned char first_arg_allow_ref[]; extern unsigned char first_arg_allow_ref[];

Loading…
Cancel
Save