summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorderaadt <>2006-10-12 00:27:47 +0000
committerderaadt <>2006-10-12 00:27:47 +0000
commitb9332e1290954897a261f0914bde6a8d3bfbdd4f (patch)
treea99f97dbf00c56aaeab073e36ba55b0b18e6b669 /src
parent8bc3dba6f56e718c84d1c647854fe5070028d587 (diff)
downloadopenbsd-b9332e1290954897a261f0914bde6a8d3bfbdd4f.tar.gz
openbsd-b9332e1290954897a261f0914bde6a8d3bfbdd4f.tar.bz2
openbsd-b9332e1290954897a261f0914bde6a8d3bfbdd4f.zip
reorder #if tests because apparently on amd64 cpp proceeds to blow it's
own brains out, and then takes lint down with it. To be investigated...
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/strtod.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/strtod.c b/src/lib/libc/stdlib/strtod.c
index 924d464187..98a49e570f 100644
--- a/src/lib/libc/stdlib/strtod.c
+++ b/src/lib/libc/stdlib/strtod.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: strtod.c,v 1.24 2006/10/10 22:03:22 miod Exp $ */ 1/* $OpenBSD: strtod.c,v 1.25 2006/10/12 00:27:47 deraadt Exp $ */
2/**************************************************************** 2/****************************************************************
3 * 3 *
4 * The author of this software is David M. Gay. 4 * The author of this software is David M. Gay.
@@ -92,8 +92,9 @@
92#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ 92#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
93 defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \ 93 defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
94 defined(__powerpc__) || defined(__m88k__) || defined(__hppa__) || \ 94 defined(__powerpc__) || defined(__m88k__) || defined(__hppa__) || \
95 defined(__x86_64__) || (defined(__arm__) && defined(__VFP_FP__)) || \ 95 defined(__x86_64__) || defined(__sh__) || \
96 defined(__sh__) 96 (defined(__arm__) && defined(__VFP_FP__))
97
97#include <sys/types.h> 98#include <sys/types.h>
98#if BYTE_ORDER == BIG_ENDIAN 99#if BYTE_ORDER == BIG_ENDIAN
99#define IEEE_BIG_ENDIAN 100#define IEEE_BIG_ENDIAN