diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-10-10 22:03:23 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-10-10 22:03:23 +0000 |
commit | 05ddbd26a5e752cb076b39a59d4da58b6fe3d365 (patch) | |
tree | 4f2a97133c5411a7e18f9f3ad544f0ae71df284c /lib/libc/stdlib | |
parent | 77e4c85748817196fb00ee12fcd1b0698b7a2106 (diff) |
Teach'em about cpus in spandex
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/strtod.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c index 3081cb5cc72..924d4641875 100644 --- a/lib/libc/stdlib/strtod.c +++ b/lib/libc/stdlib/strtod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strtod.c,v 1.23 2006/10/01 11:36:33 otto Exp $ */ +/* $OpenBSD: strtod.c,v 1.24 2006/10/10 22:03:22 miod Exp $ */ /**************************************************************** * * The author of this software is David M. Gay. @@ -92,7 +92,8 @@ #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \ defined(__powerpc__) || defined(__m88k__) || defined(__hppa__) || \ - defined(__x86_64__) || (defined(__arm__) && defined(__VFP_FP__)) + defined(__x86_64__) || (defined(__arm__) && defined(__VFP_FP__)) || \ + defined(__sh__) #include <sys/types.h> #if BYTE_ORDER == BIG_ENDIAN #define IEEE_BIG_ENDIAN @@ -201,8 +202,7 @@ extern "C" { #if defined(IEEE_LITTLE_ENDIAN) + defined(IEEE_BIG_ENDIAN) + defined(VAX) + \ defined(IBM) != 1 -Exactly one of IEEE_LITTLE_ENDIAN IEEE_BIG_ENDIAN, VAX, or -IBM should be defined. +#error Exactly one of IEEE_LITTLE_ENDIAN IEEE_BIG_ENDIAN, VAX, or IBM should be defined. #endif typedef union { |