summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2015-06-06 19:57:30 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2015-06-06 19:57:30 +0900
commita04116267850afc5b85459940656346c7c380da5 (patch)
treec77082373931b60f1a3a4f47dd4925cce626b86e /src
parente1b638376f4e71f76b0c70cc77d30e4dc5d58a6c (diff)
parent3bcf570a17d25783187c8aa3413bf48425b29619 (diff)
downloadmruby-a04116267850afc5b85459940656346c7c380da5.tar.gz
mruby-a04116267850afc5b85459940656346c7c380da5.zip
Merge pull request #2827 from mruby-debian/fix-upstream
Fix build on MIPS of linux
Diffstat (limited to 'src')
-rw-r--r--src/fmt_fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt_fp.c b/src/fmt_fp.c
index ef2f19dd5..a634edb34 100644
--- a/src/fmt_fp.c
+++ b/src/fmt_fp.c
@@ -90,7 +90,7 @@ fmt_u(uint32_t x, char *s)
typedef char compiler_defines_long_double_incorrectly[9-(int)sizeof(long double)];
#endif
-#if defined(__CYGWIN32__) || defined(__NetBSD__) || defined(mips)
+#if (defined(__CYGWIN32__) || defined(__NetBSD__) || defined(mips)) && !defined(__linux__)
static long double
frexpl (long double x, int *eptr)
{