summaryrefslogtreecommitdiff
path: root/main/snprintf.c
diff options
context:
space:
mode:
authorJason Greene <jason@php.net>2001-06-05 16:35:56 +0000
committerJason Greene <jason@php.net>2001-06-05 16:35:56 +0000
commit9e5b0de828c419f8a9f84e167656b589ab9f6ef3 (patch)
tree65bd2ed2e6c956f0025963ee25930ebc8b2c24ab /main/snprintf.c
parentf6dc573f32b767747a09c1a2a5aa59b1be5f5e41 (diff)
downloadphp-git-9e5b0de828c419f8a9f84e167656b589ab9f6ef3.tar.gz
Add the capibility to to allow ap_php_(v)snprintf to replace (v)snprintf
if the platform has a broken (v)snprintf, or in my case, if a library included by a module redifines snprintf incorrectly.
Diffstat (limited to 'main/snprintf.c')
-rw-r--r--main/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/snprintf.c b/main/snprintf.c
index 1a84a08370..238cf2cf2e 100644
--- a/main/snprintf.c
+++ b/main/snprintf.c
@@ -55,7 +55,7 @@
#include "php.h"
-#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
+#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) || defined(BROKEN_SNPRINTF) || defined(BROKEN_VSNPRINTF)
#include <stdio.h>
#include <ctype.h>