summaryrefslogtreecommitdiff
path: root/Zend/zend_sprintf.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-26 14:10:42 +0000
committerZeev Suraski <zeev@php.net>1999-04-26 14:10:42 +0000
commit7c4a08381e458a7efe470185336c3f9c02276d45 (patch)
treeae39a1acc0d02a05a2daf33c9da4f04ac9536874 /Zend/zend_sprintf.c
parent7942eaf38138ef8751a447dadb930a129528fb6b (diff)
downloadphp-git-7c4a08381e458a7efe470185336c3f9c02276d45.tar.gz
Various thread safety fixes and DLL updates
Diffstat (limited to 'Zend/zend_sprintf.c')
-rw-r--r--Zend/zend_sprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_sprintf.c b/Zend/zend_sprintf.c
index bebfd2ae8f..8f382c9204 100644
--- a/Zend/zend_sprintf.c
+++ b/Zend/zend_sprintf.c
@@ -22,6 +22,7 @@
#include <stdarg.h>
#endif
+#if BROKEN_SPRINTF
int zend_sprintf(char *buffer, const char *format, ...)
{
va_list args;
@@ -32,3 +33,4 @@ int zend_sprintf(char *buffer, const char *format, ...)
return strlen(buffer);
}
+#endif \ No newline at end of file