From 61364b5bb172fa512c871b795c2613b1b587e4cd Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 15 Nov 2004 13:42:22 +0000 Subject: - MFH4.3: Cleaned up some of the locale mess: * all internal use of sprintf, snprintf and the like will always use the . as thousands seperator (if php.h is included only!). * echo, printf() and sprintf() always render locale-aware * added the %F modifier for non-locale aware rendering for floats --- main/php.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'main/php.h') diff --git a/main/php.h b/main/php.h index 6e5612bde2..1ea49e623f 100644 --- a/main/php.h +++ b/main/php.h @@ -37,10 +37,8 @@ #include "zend_API.h" -#if PHP_BROKEN_SPRINTF #undef sprintf #define sprintf php_sprintf -#endif /* PHP's DEBUG value must match Zend's ZEND_DEBUG value */ #undef PHP_DEBUG @@ -228,9 +226,7 @@ char *strerror(int); #define PHP_ATTRIBUTE_MALLOC ZEND_ATTRIBUTE_MALLOC #define PHP_ATTRIBUTE_FORMAT ZEND_ATTRIBUTE_FORMAT -#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) || PHP_BROKEN_SPRINTF || PHP_BROKEN_SNPRINTF || PHP_BROKEN_VSNPRINTF #include "snprintf.h" -#endif #include "spprintf.h" #define EXEC_INPUT_BUF 4096 -- cgit v1.2.1