summaryrefslogtreecommitdiffhomepage
path: root/src/fmt_fp.c
diff options
context:
space:
mode:
authorTarosa <[email protected]>2015-03-16 19:22:47 +0900
committerTarosa <[email protected]>2015-03-16 19:22:47 +0900
commit52f35b83e2b8760e493f4b492750fc212f044243 (patch)
tree59e889bfcdc6441803c0ccd497612bd4d54025d8 /src/fmt_fp.c
parentf6dc5163191a0e799a200fd022701f478fae1d66 (diff)
downloadmruby-52f35b83e2b8760e493f4b492750fc212f044243.tar.gz
mruby-52f35b83e2b8760e493f4b492750fc212f044243.zip
I have added the #ifdef __CYGWIN32__ to modify the fmt_fp.c
Diffstat (limited to 'src/fmt_fp.c')
-rw-r--r--src/fmt_fp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fmt_fp.c b/src/fmt_fp.c
index 6a1c832ba..a94503e63 100644
--- a/src/fmt_fp.c
+++ b/src/fmt_fp.c
@@ -90,11 +90,13 @@ fmt_u(uint32_t x, char *s)
typedef char compiler_defines_long_double_incorrectly[9-(int)sizeof(long double)];
#endif
+#ifdef __CYGWIN32__
static long double
frexpl (long double x, int *eptr)
{
return frexp(x, eptr);
}
+#endif
static int
fmt_fp(struct fmt_args *f, long double y, int w, int p, int fl, int t)