summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_strtod.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c
index 9fbaf38838..ffc127e6ab 100644
--- a/Zend/zend_strtod.c
+++ b/Zend/zend_strtod.c
@@ -126,6 +126,10 @@ static char *rcsid = "$OpenBSD: strtod.c,v 1.19 2004/02/03 16:52:11 drahn Exp $"
#define IEEE_LITTLE_ENDIAN
#endif
+#if defined(__sparc__)
+#define u_int32_t uint32_t
+#endif
+
#define Long int32_t
#define ULong u_int32_t