diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-03-16 19:34:29 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-03-16 19:34:29 +0900 |
| commit | 0e218f53569002f8f5979629ae91f5fb28544251 (patch) | |
| tree | 59e889bfcdc6441803c0ccd497612bd4d54025d8 /src | |
| parent | f32393a820912bcad8ea9e824aa6b8d286a9c267 (diff) | |
| parent | 52f35b83e2b8760e493f4b492750fc212f044243 (diff) | |
| download | mruby-0e218f53569002f8f5979629ae91f5fb28544251.tar.gz mruby-0e218f53569002f8f5979629ae91f5fb28544251.zip | |
Merge pull request #2746 from tarosay/tarosa
I modified the undefined frexpl in cygwin of make
Diffstat (limited to 'src')
| -rw-r--r-- | src/fmt_fp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fmt_fp.c b/src/fmt_fp.c index cfbda570a..a94503e63 100644 --- a/src/fmt_fp.c +++ b/src/fmt_fp.c @@ -90,6 +90,14 @@ 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) { |
