mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Add PHP_BROKEN_SPRINTF check here.
Also remove unnecessary #ifdef's for PACKAGE and VERSION.
This commit is contained in:
parent
e49ad341bd
commit
d180634e07
1 changed files with 6 additions and 6 deletions
12
main/php.h
12
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[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue