summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/strtod.c
diff options
context:
space:
mode:
authorrahnds <rahnds@openbsd.org>1996-12-21 21:14:44 +0000
committerrahnds <rahnds@openbsd.org>1996-12-21 21:14:44 +0000
commitf46272a5224b89583d5841a2aff74e2bd368b38a (patch)
treefa2a4d0397f61f445887293ec2c036d4dada0091 /lib/libc/stdlib/strtod.c
parentDon't reset group here, we won't be able to execute games that way (diff)
downloadwireguard-openbsd-f46272a5224b89583d5841a2aff74e2bd368b38a.tar.xz
wireguard-openbsd-f46272a5224b89583d5841a2aff74e2bd368b38a.zip
Add powerpc support. To bad this needs to be modified for every
new architecture.
Diffstat (limited to 'lib/libc/stdlib/strtod.c')
-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