summaryrefslogtreecommitdiff
path: root/Zend/zend_strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_strtod.c')
-rw-r--r--Zend/zend_strtod.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c
index d0b197335d..bba9ac7edb 100644
--- a/Zend/zend_strtod.c
+++ b/Zend/zend_strtod.c
@@ -91,22 +91,15 @@
#include <zend_strtod.h>
-#if defined(LIBC_SCCS) && !defined(lint)
-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(__mips) || defined(__ns32k__) || defined(__alpha__) || defined(__alpha) || \
- defined(__powerpc__) || defined(__ppc__) || defined(__m88k__) || defined(__hpux) || \
- defined(__hppa__) || defined(__x86_64__) || (defined(__arm__) && \
- defined(__VFP_FP__))
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
-#if BYTE_ORDER == BIG_ENDIAN
+#endif
+
+#ifdef WORDS_BIGENDIAN
#define IEEE_BIG_ENDIAN
#else
#define IEEE_LITTLE_ENDIAN
#endif
-#endif
#if defined(__arm__) && !defined(__VFP_FP__)
/*