summaryrefslogtreecommitdiffhomepage
path: root/src/fmt_fp.c
diff options
context:
space:
mode:
authorTomoyuki Sahara <[email protected]>2015-05-20 12:43:10 +0900
committerTomoyuki Sahara <[email protected]>2015-05-20 12:43:10 +0900
commit48b63b1c7abccea4aced971ee18eda2a1e932428 (patch)
tree58a1b1c633aba83b352139fa8b6161e9fd8fd624 /src/fmt_fp.c
parent505c6961dc5aa75783c43bb582379582cae0dbbb (diff)
downloadmruby-48b63b1c7abccea4aced971ee18eda2a1e932428.tar.gz
mruby-48b63b1c7abccea4aced971ee18eda2a1e932428.zip
NetBSD (6.1.5) does not have frexpl(3).
Diffstat (limited to 'src/fmt_fp.c')
-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 9aeae642c..ef2f19dd5 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(mips)
+#if defined(__CYGWIN32__) || defined(__NetBSD__) || defined(mips)
static long double
frexpl (long double x, int *eptr)
{