summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2011-07-26 09:24:53 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2011-07-26 09:24:53 +0000
commit5590ed34310d7c2190d6cd27b730d915d3593f40 (patch)
tree862a6aecc4abc49fd61936c5a1a1f6e5664904c4 /lib
parent238f0eccdd536ff7a9ce2364afec9f037c1dd7d2 (diff)
__arm32__ -> __arm__, since our new compiler isn't defining the
former anymore. OK miod@.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/ldexp.c6
-rw-r--r--lib/libm/src/math_private.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/gen/ldexp.c b/lib/libc/gen/ldexp.c
index 83dfa40896f..f03eeaf8d6d 100644
--- a/lib/libc/gen/ldexp.c
+++ b/lib/libc/gen/ldexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldexp.c,v 1.3 2011/07/07 00:25:39 martynas Exp $ */
+/* $OpenBSD: ldexp.c,v 1.4 2011/07/26 09:24:52 martynas Exp $ */
/* @(#)s_scalbn.c 5.1 93/09/24 */
/* @(#)fdlibm.h 5.1 93/09/24 */
/*
@@ -22,7 +22,7 @@
/* Bit fiddling routines copied from msun/src/math_private.h,v 1.15 */
-#if (BYTE_ORDER == BIG_ENDIAN) || defined(arm32)
+#if (BYTE_ORDER == BIG_ENDIAN) || defined(__arm__)
typedef union
{
@@ -36,7 +36,7 @@ typedef union
#endif
-#if (BYTE_ORDER == LITTLE_ENDIAN) && !defined(arm32)
+#if (BYTE_ORDER == LITTLE_ENDIAN) && !defined(__arm__)
typedef union
{
diff --git a/lib/libm/src/math_private.h b/lib/libm/src/math_private.h
index 00c88387874..2abe14a7c62 100644
--- a/lib/libm/src/math_private.h
+++ b/lib/libm/src/math_private.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: math_private.h,v 1.13 2011/07/06 00:02:42 martynas Exp $ */
+/* $OpenBSD: math_private.h,v 1.14 2011/07/26 09:24:52 martynas Exp $ */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@@ -222,11 +222,11 @@ do { \
ints. */
/*
- * The arm32 port is little endian except for the FP word order which is
+ * The arm port is little endian except for the FP word order which is
* big endian.
*/
-#if (BYTE_ORDER == BIG_ENDIAN) || defined(arm32)
+#if (BYTE_ORDER == BIG_ENDIAN) || defined(__arm__)
typedef union
{
@@ -240,7 +240,7 @@ typedef union
#endif
-#if (BYTE_ORDER == LITTLE_ENDIAN) && !defined(arm32)
+#if (BYTE_ORDER == LITTLE_ENDIAN) && !defined(__arm__)
typedef union
{