summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2004-11-15 13:42:22 +0000
committerDerick Rethans <derick@php.net>2004-11-15 13:42:22 +0000
commit61364b5bb172fa512c871b795c2613b1b587e4cd (patch)
tree82676582a2c985bc64ae291336b37d40b011eebb /main/php.h
parent48fe8cf7bc6d73dfc8d1524c78412a7d2fadeb17 (diff)
downloadphp-git-61364b5bb172fa512c871b795c2613b1b587e4cd.tar.gz
- 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
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h4
1 files changed, 0 insertions, 4 deletions
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