summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-03-12 17:18:21 +0000
committerSascha Schumann <sas@php.net>2000-03-12 17:18:21 +0000
commitbb09ee9505023838079d427d47e7d0b0494d1b8c (patch)
tree630e0c0a4cb16196323e88c1f4759cea3cd60574 /main/php.h
parent00c14f7413e7dff82fb187d990d5d19c0ad2a7cf (diff)
downloadphp-git-bb09ee9505023838079d427d47e7d0b0494d1b8c.tar.gz
Use sprintf everywhere and define sprintf to php_sprintf, if sprintf is broken.
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 be87eb1a5e..8cd8f02088 100644
--- a/main/php.h
+++ b/main/php.h
@@ -188,7 +188,7 @@ extern char *strerror(int);
#define LONG_MIN (- LONG_MAX - 1)
#endif
-#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
+#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) || defined(BROKEN_SPRINTF)
#include "snprintf.h"
#endif