diff options
| author | Paolo Bosetti <[email protected]> | 2015-05-07 13:05:25 +0200 |
|---|---|---|
| committer | Paolo Bosetti <[email protected]> | 2015-05-07 13:05:25 +0200 |
| commit | 5e5e1290141a56b6765df5c19b13c60320c480bd (patch) | |
| tree | 6f5f3057e2af76ff28493cba276d09b1f172ebfb /src/fmt_fp.c | |
| parent | 2fe556d9c039839c20965a2c90dff703f04e40ec (diff) | |
| download | mruby-5e5e1290141a56b6765df5c19b13c60320c480bd.tar.gz mruby-5e5e1290141a56b6765df5c19b13c60320c480bd.zip | |
Defining static version of frexpl also fro MIPS platforms.
On MIPS/linaro, libm.so lacks frexpl() as CygWin does.
Diffstat (limited to 'src/fmt_fp.c')
| -rw-r--r-- | src/fmt_fp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt_fp.c b/src/fmt_fp.c index 9b29093a8..9aeae642c 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 -#ifdef __CYGWIN32__ +#if defined(__CYGWIN32__) || defined(mips) static long double frexpl (long double x, int *eptr) { |
