summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1996-12-21 21:14:45 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1996-12-21 21:14:45 +0000
commitcfd651e086bb06f0f849655708728307aa6122ff (patch)
tree31bca8272b28afa8106da444d2424172bc01f0c1
parent2fdd85cb31b5636e9755c5648e7bad301e4b324c (diff)
Add powerpc support. To bad this needs to be modified for every
new architecture.
-rw-r--r--lib/libc/stdlib/strtod.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c
index 8d271f2c501..002654f8e1d 100644
--- a/lib/libc/stdlib/strtod.c
+++ b/lib/libc/stdlib/strtod.c
@@ -90,11 +90,12 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: strtod.c,v 1.6 1996/11/14 14:18:43 etheisen Exp $";
+static char *rcsid = "$OpenBSD: strtod.c,v 1.7 1996/12/21 21:14:44 rahnds Exp $";
#endif /* LIBC_SCCS and not lint */
#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
- defined(__mips__) || defined(__ns32k__) || defined(__alpha__)
+ defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
+ defined(__ppc__)
#include <sys/types.h>
#if BYTE_ORDER == BIG_ENDIAN
#define IEEE_BIG_ENDIAN