summaryrefslogtreecommitdiff
path: root/main/snprintf.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-02-25 09:44:12 +0000
committerfoobar <sniper@php.net>2003-02-25 09:44:12 +0000
commit411478e1f6f930743b4d75dbcd1563f346b22a1d (patch)
tree87577f272e1a289aabe43a187b34a20b175d2076 /main/snprintf.c
parent79a3618b36418494fe3b37e90a538d51d0a3302b (diff)
downloadphp-git-411478e1f6f930743b4d75dbcd1563f346b22a1d.tar.gz
Fixed bug #20256 (snprintf() not defined)
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 0f72490f0b..fc3d5de153 100644
--- a/main/snprintf.c
+++ b/main/snprintf.c
@@ -439,7 +439,7 @@ ap_php_gcvt(double number, int ndigit, char *buf, boolean_e altform)
return (buf);
}
-#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) || defined(BROKEN_SNPRINTF) || defined(BROKEN_VSNPRINTF)
+#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) || PHP_BROKEN_SNPRINTF || PHP_BROKEN_VSNPRINTF
/*
* NUM_BUF_SIZE is the size of the buffer used for arithmetic conversions