Browse Source

configure sets ZEND_BROKEN_SPRINTF

PHP-4.0.5
Sascha Schumann 26 years ago
parent
commit
2185831922
  1. 2
      Zend/acconfig.h
  2. 2
      Zend/zend_sprintf.c

2
Zend/acconfig.h

@ -34,7 +34,7 @@
#define MEMORY_LIMIT 0
/* Define if you have broken sprintf function like SunOS 4 */
#define BROKEN_SPRINTF 0
#define ZEND_BROKEN_SPRINTF 0
/* Define to compile Zend thread safe */
#undef ZTS

2
Zend/zend_sprintf.c

@ -26,7 +26,7 @@
# include <stdarg.h>
#endif
#if BROKEN_SPRINTF
#if ZEND_BROKEN_SPRINTF
int zend_sprintf(char *buffer, const char *format, ...)
{
va_list args;

Loading…
Cancel
Save