summaryrefslogtreecommitdiff
path: root/Zend/zend_sprintf.c
diff options
context:
space:
mode:
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