summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorTarosa <[email protected]>2015-03-16 18:34:08 +0900
committerTarosa <[email protected]>2015-03-16 18:34:08 +0900
commitf6dc5163191a0e799a200fd022701f478fae1d66 (patch)
tree27274477c80d441292c0d38591b190c000a099cb /src
parentf32393a820912bcad8ea9e824aa6b8d286a9c267 (diff)
downloadmruby-f6dc5163191a0e799a200fd022701f478fae1d66.tar.gz
mruby-f6dc5163191a0e799a200fd022701f478fae1d66.zip
I modified the undefined frexpl in cygwin of make
Diffstat (limited to 'src')
-rw-r--r--src/fmt_fp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fmt_fp.c b/src/fmt_fp.c
index cfbda570a..6a1c832ba 100644
--- a/src/fmt_fp.c
+++ b/src/fmt_fp.c
@@ -90,6 +90,12 @@ fmt_u(uint32_t x, char *s)
typedef char compiler_defines_long_double_incorrectly[9-(int)sizeof(long double)];
#endif
+static long double
+frexpl (long double x, int *eptr)
+{
+ return frexp(x, eptr);
+}
+
static int
fmt_fp(struct fmt_args *f, long double y, int w, int p, int fl, int t)
{