diff options
author | 2006-10-10 22:03:21 +0000 | |
---|---|---|
committer | 2006-10-10 22:03:21 +0000 | |
commit | e7fc2a6d64bab8a1e0082b132d4bc8d0d13d0716 (patch) | |
tree | fb78ac8c58e3e4cf815f902f8de6dc9caec167b5 /lib/libc/stdlib/strtod.c | |
parent | Match the SH4 FPSCR bits. (diff) | |
download | wireguard-openbsd-e7fc2a6d64bab8a1e0082b132d4bc8d0d13d0716.tar.xz wireguard-openbsd-e7fc2a6d64bab8a1e0082b132d4bc8d0d13d0716.zip |
Teach'em about cpus in spandex
Diffstat (limited to 'lib/libc/stdlib/strtod.c')
-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 { |