diff options
author | rahnds <> | 1996-12-21 21:14:44 +0000 |
---|---|---|
committer | rahnds <> | 1996-12-21 21:14:44 +0000 |
commit | acafe265c0ab29fe27cd3f97d076bb175724009a (patch) | |
tree | 885483b10dadf7e77e95f6f97c8a61cb49d4a5de | |
parent | a02c1dbdec1e34a65d6087bdbcb4ad090c5559d6 (diff) | |
download | openbsd-acafe265c0ab29fe27cd3f97d076bb175724009a.tar.gz openbsd-acafe265c0ab29fe27cd3f97d076bb175724009a.tar.bz2 openbsd-acafe265c0ab29fe27cd3f97d076bb175724009a.zip |
Add powerpc support. To bad this needs to be modified for every
new architecture.
-rw-r--r-- | src/lib/libc/stdlib/strtod.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/strtod.c b/src/lib/libc/stdlib/strtod.c index 8d271f2c50..002654f8e1 100644 --- a/src/lib/libc/stdlib/strtod.c +++ b/src/lib/libc/stdlib/strtod.c | |||
@@ -90,11 +90,12 @@ | |||
90 | */ | 90 | */ |
91 | 91 | ||
92 | #if defined(LIBC_SCCS) && !defined(lint) | 92 | #if defined(LIBC_SCCS) && !defined(lint) |
93 | static char *rcsid = "$OpenBSD: strtod.c,v 1.6 1996/11/14 14:18:43 etheisen Exp $"; | 93 | static char *rcsid = "$OpenBSD: strtod.c,v 1.7 1996/12/21 21:14:44 rahnds Exp $"; |
94 | #endif /* LIBC_SCCS and not lint */ | 94 | #endif /* LIBC_SCCS and not lint */ |
95 | 95 | ||
96 | #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ | 96 | #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ |
97 | defined(__mips__) || defined(__ns32k__) || defined(__alpha__) | 97 | defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \ |
98 | defined(__ppc__) | ||
98 | #include <sys/types.h> | 99 | #include <sys/types.h> |
99 | #if BYTE_ORDER == BIG_ENDIAN | 100 | #if BYTE_ORDER == BIG_ENDIAN |
100 | #define IEEE_BIG_ENDIAN | 101 | #define IEEE_BIG_ENDIAN |