summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2004-02-03 16:52:12 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2004-02-03 16:52:12 +0000
commite73723e446dce78a3ed861fe20580beac5e0f336 (patch)
treeebc3b6b979c1851ef1f7bccc768cc2b0f515a660
parent7ea697ce3364ef6afcfe5a7105a7e03ec134bd96 (diff)
Correct the arm ifdefs previously inserted, is working correctly now.
-rw-r--r--lib/libc/stdlib/strtod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c
index 5899bc1ee58..8e839d61554 100644
--- a/lib/libc/stdlib/strtod.c
+++ b/lib/libc/stdlib/strtod.c
@@ -90,13 +90,13 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: strtod.c,v 1.18 2004/02/01 07:11:24 drahn Exp $";
+static char *rcsid = "$OpenBSD: strtod.c,v 1.19 2004/02/03 16:52:11 drahn Exp $";
#endif /* LIBC_SCCS and not lint */
#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
defined(__powerpc__) || defined(__m88k__) || defined(__hppa__) || \
- defined(__x86_64__)
+ defined(__x86_64__) || (defined(__arm__) && defined(__VFP_FP__))
#include <sys/types.h>
#if BYTE_ORDER == BIG_ENDIAN
#define IEEE_BIG_ENDIAN
@@ -105,7 +105,7 @@ static char *rcsid = "$OpenBSD: strtod.c,v 1.18 2004/02/01 07:11:24 drahn Exp $"
#endif
#endif
-#if defined(__arm__) && !defined(_VFP_FP__)
+#if defined(__arm__) && !defined(__VFP_FP__)
/*
* Although the CPU is little endian the FP has different
* byte and word endianness. The byte order is still little endian