summaryrefslogtreecommitdiff
path: root/main/php.h
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/php.h
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/php.h')
-rw-r--r--main/php.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php.h b/main/php.h
index 24173462ab..e7f0f114ee 100644
--- a/main/php.h
+++ b/main/php.h
@@ -188,7 +188,7 @@ char *strerror(int);
#define LONG_MIN (- LONG_MAX - 1)
#endif
-#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) || defined(BROKEN_SPRINTF)
+#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) || defined(BROKEN_SPRINTF) || defined(BROKEN_SNPRINTF) || defined(BROKEN_VSNPRINTF)
#include "snprintf.h"
#endif