summaryrefslogtreecommitdiff
path: root/Zend/zend_strtod.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2004-12-16 10:38:48 +0000
committerDerick Rethans <derick@php.net>2004-12-16 10:38:48 +0000
commit2689533db919f1c6bd155d55d7271cf5dd47b809 (patch)
tree060849f82bd1c1b6d54273ac4296b66331272b08 /Zend/zend_strtod.c
parent5d2b6c784e4a70137fb7b186254cbc83815c8581 (diff)
downloadphp-git-2689533db919f1c6bd155d55d7271cf5dd47b809.tar.gz
- MF43: Fixed bug #31110 and #31111 (Zend/zend_strtod.c problems)
Diffstat (limited to 'Zend/zend_strtod.c')
-rw-r--r--Zend/zend_strtod.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c
index 125d072a26..4b8c0fcb49 100644
--- a/Zend/zend_strtod.c
+++ b/Zend/zend_strtod.c
@@ -96,7 +96,7 @@ static char *rcsid = "$OpenBSD: strtod.c,v 1.19 2004/02/03 16:52:11 drahn Exp $"
#endif /* LIBC_SCCS and not lint */
#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
- defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
+ defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || defined(__alpha) || \
defined(__powerpc__) || defined(__ppc__) || defined(__m88k__) || \
defined(__hppa__) || defined(__x86_64__) || (defined(__arm__) && \
defined(__VFP_FP__))
@@ -128,8 +128,10 @@ static char *rcsid = "$OpenBSD: strtod.c,v 1.19 2004/02/03 16:52:11 drahn Exp $"
#endif
#if defined(__sparc__) || defined(__ppc__)
+#ifndef __linux__
#define u_int32_t uint32_t
#endif
+#endif
#ifdef HAVE_SYS_BITYPES_H
#include <sys/bitypes.h>