diff options
| author | bjh21 <bjh21@NetBSD.org> | 2000-05-09 21:55:44 +0000 |
|---|---|---|
| committer | bjh21 <bjh21@NetBSD.org> | 2000-05-09 21:55:44 +0000 |
| commit | 6c97e2bd7817f6eb36ea04f65488ea1e95cb158f (patch) | |
| tree | 499bc6851619a39119e4f4e8919311cbb9b2948d /lib/libc/stdlib | |
| parent | 6a36c27519360fbbcb9b0533b93429d400c5e315 (diff) | |
Initial commit of arm26 port
Diffstat (limited to 'lib/libc/stdlib')
| -rw-r--r-- | lib/libc/stdlib/strtod.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c index d163c9d0e2f..6a6102f626e 100644 --- a/lib/libc/stdlib/strtod.c +++ b/lib/libc/stdlib/strtod.c @@ -1,4 +1,4 @@ -/* $NetBSD: strtod.c,v 1.33 1999/11/26 07:39:45 msaitoh Exp $ */ +/* $NetBSD: strtod.c,v 1.34 2000/05/09 21:55:53 bjh21 Exp $ */ /**************************************************************** * @@ -93,7 +93,7 @@ #include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: strtod.c,v 1.33 1999/11/26 07:39:45 msaitoh Exp $"); +__RCSID("$NetBSD: strtod.c,v 1.34 2000/05/09 21:55:53 bjh21 Exp $"); #endif /* LIBC_SCCS and not lint */ #define Unsigned_Shifts @@ -108,7 +108,7 @@ __RCSID("$NetBSD: strtod.c,v 1.33 1999/11/26 07:39:45 msaitoh Exp $"); #endif #endif -#ifdef __arm32__ +#if defined(__arm32__) || defined(__arm26__) /* * Although the CPU is little endian the FP has different * byte and word endianness. The byte order is still little endian @@ -245,7 +245,8 @@ typedef union { * An alternative that might be better on some machines is * #define Storeinc(a,b,c) (*a++ = b << 16 | c & 0xffff) */ -#if defined(IEEE_LITTLE_ENDIAN) + defined(VAX) + defined(__arm32__) +#if defined(IEEE_LITTLE_ENDIAN) + defined(VAX) + defined(__arm32__) + \ + defined(__arm26__) #define Storeinc(a,b,c) \ (((u_short *)(void *)a)[1] = \ (u_short)b, ((u_short *)(void *)a)[0] = (u_short)c, a++) |
