summaryrefslogtreecommitdiff
path: root/acconfig.h.in
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-19 20:08:40 +0000
committerSascha Schumann <sas@php.net>1999-12-19 20:08:40 +0000
commitb4b39c68862ed0be4e1614d3fcdd149687950afc (patch)
tree06cfae28da859e26d605f2e76e68437fd228c7ea /acconfig.h.in
parent4dbf758f4c2279d70cfbd88e50177d805ba9dedb (diff)
downloadphp-git-b4b39c68862ed0be4e1614d3fcdd149687950afc.tar.gz
Fix broken sprintf handling in PHP
Diffstat (limited to 'acconfig.h.in')
-rw-r--r--acconfig.h.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/acconfig.h.in b/acconfig.h.in
index fba8562865..1a85f3acbf 100644
--- a/acconfig.h.in
+++ b/acconfig.h.in
@@ -122,4 +122,8 @@
/* Define if struct sockaddr contains the field sa_len */
#undef HAVE_SOCKADDR_SA_LEN
-#define sprintf zend_sprintf
+#undef BROKEN_SPRINTF
+
+#if BROKEN_SPRINTF
+#define sprintf php_sprintf
+#endif