summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2010-01-23 19:11:20 +0000
committermiod <miod@openbsd.org>2010-01-23 19:11:20 +0000
commit972edd4aff9a28151783e54940e12ef1a6f83cda (patch)
tree017696fa348105bac864eaec8891b947edc2bda7 /lib/libc
parentDon't leak if arguments appear multiple times, from Tiago Cunha. (diff)
downloadwireguard-openbsd-972edd4aff9a28151783e54940e12ef1a6f83cda.tar.xz
wireguard-openbsd-972edd4aff9a28151783e54940e12ef1a6f83cda.zip
Give little-endian fp on mips a change to be handled correctly.
Diffstat (limited to 'lib/libc')
-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)