I have added the #ifdef __CYGWIN32__ to modify the fmt_fp.c

This commit is contained in:
Tarosa
2015-03-16 19:22:47 +09:00
parent f6dc516319
commit 52f35b83e2
+2
View File
@@ -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)