Merge pull request #2876 from joans321/master

fix androideabi cross-compile error : undefined reference to 'frexpl'
This commit is contained in:
Yukihiro "Matz" Matsumoto
2015-07-07 00:36:51 +09:00
2 changed files with 5 additions and 8 deletions
+3 -6
View File
@@ -90,12 +90,9 @@ fmt_u(uint32_t x, char *s)
typedef char compiler_defines_long_double_incorrectly[9-(int)sizeof(long double)];
#endif
#if (defined(__CYGWIN32__) || defined(__NetBSD__) || defined(mips)) && !defined(__linux__)
static long double
frexpl (long double x, int *eptr)
{
return frexp(x, eptr);
}
#if ((defined(__CYGWIN32__) || defined(__NetBSD__) || defined(mips)) && !defined(__linux__)) || defined(__android__)
#undef frexpl
#define frexpl frexp
#endif
static int