summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2004-11-15 19:26:45 +0000
committerDerick Rethans <derick@php.net>2004-11-15 19:26:45 +0000
commit4916f5854063baed719b562f4e47ec5790d64f46 (patch)
tree2f886513c8011f7c5c95f6d8eb0341865c0b1348
parent0314fa1c3bef02305912e9b9b836b181641b05b1 (diff)
downloadphp-git-4916f5854063baed719b562f4e47ec5790d64f46.tar.gz
- Fixed bug #30779 (Compile of Zend/zend_strtod.c fails on Sparc)
-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