diff options
| author | Tarosa <[email protected]> | 2015-03-16 18:34:08 +0900 |
|---|---|---|
| committer | Tarosa <[email protected]> | 2015-03-16 18:34:08 +0900 |
| commit | f6dc5163191a0e799a200fd022701f478fae1d66 (patch) | |
| tree | 27274477c80d441292c0d38591b190c000a099cb /src/fmt_fp.c | |
| parent | f32393a820912bcad8ea9e824aa6b8d286a9c267 (diff) | |
| download | mruby-f6dc5163191a0e799a200fd022701f478fae1d66.tar.gz mruby-f6dc5163191a0e799a200fd022701f478fae1d66.zip | |
I modified the undefined frexpl in cygwin of make
Diffstat (limited to 'src/fmt_fp.c')
| -rw-r--r-- | src/fmt_fp.c | 6 |
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) { |
