Commit 52f35b83 authored by Tarosa's avatar Tarosa

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

parent f6dc5163
...@@ -90,11 +90,13 @@ fmt_u(uint32_t x, char *s) ...@@ -90,11 +90,13 @@ fmt_u(uint32_t x, char *s)
typedef char compiler_defines_long_double_incorrectly[9-(int)sizeof(long double)]; typedef char compiler_defines_long_double_incorrectly[9-(int)sizeof(long double)];
#endif #endif
#ifdef __CYGWIN32__
static long double static long double
frexpl (long double x, int *eptr) frexpl (long double x, int *eptr)
{ {
return frexp(x, eptr); return frexp(x, eptr);
} }
#endif
static int static int
fmt_fp(struct fmt_args *f, long double y, int w, int p, int fl, int t) fmt_fp(struct fmt_args *f, long double y, int w, int p, int fl, int t)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment