summaryrefslogtreecommitdiff
path: root/lib/libc/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-01-23 19:11:22 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-01-23 19:11:22 +0000
commit25aa1f514b83d7839825b3d7aa1e3ecb0b32310c (patch)
tree116ac03f825724d9125e4cde4f0f39b040ec2175 /lib/libc/arch
parent4093a64aeed5e515963f8a03f78ba6a880363ac6 (diff)
Give little-endian fp on mips a change to be handled correctly.
Diffstat (limited to 'lib/libc/arch')
-rw-r--r--lib/libc/arch/mips64/gdtoa/arith.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/arch/mips64/gdtoa/arith.h b/lib/libc/arch/mips64/gdtoa/arith.h
index 0b84f84f763..ee44109ae50 100644
--- a/lib/libc/arch/mips64/gdtoa/arith.h
+++ b/lib/libc/arch/mips64/gdtoa/arith.h
@@ -1,4 +1,8 @@
+#ifdef __MIPSEB__
#define IEEE_MC68k
+#else
+#define IEEE_8087
+#endif
#define Arith_Kind_ASL 2
#define Long int
#define Intcast (int)(long)