8252250: isnanf is obsolete

Reviewed-by: dcubed, mikael
This commit is contained in:
Aleksei Voitylov 2020-08-31 09:28:32 +03:00
parent f0b30a5d24
commit b957d802e6

View File

@ -112,7 +112,7 @@ typedef uint64_t julong;
#if defined(__APPLE__)
inline int g_isnan(double f) { return isnan(f); }
#elif defined(LINUX) || defined(_ALLBSD_SOURCE)
inline int g_isnan(float f) { return isnanf(f); }
inline int g_isnan(float f) { return isnan(f); }
inline int g_isnan(double f) { return isnan(f); }
#else
#error "missing platform-specific definition here"