summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arm/arith.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/arm/arith.h b/lib/libc/arm/arith.h
index 86121bf..e6f1da0 100644
--- a/lib/libc/arm/arith.h
+++ b/lib/libc/arm/arith.h
@@ -11,6 +11,11 @@
* architecture. See contrib/gdtoa/gdtoaimp.h for details.
*/
+#ifndef __ARMEB__
#define IEEE_8087
#define Arith_Kind_ASL 1
#define Sudden_Underflow
+#else
+#define IEEE_MC68k
+#define Arith_Kind_ASL 2
+#endif
OpenPOWER on IntegriCloud