macOS: Do not use deprecated finite, but isfinite
This commit is contained in:
parent
fa58223204
commit
7983b0d16a
|
|
@ -204,6 +204,10 @@ extern double x_atanh(double);
|
|||
#pragma warning(disable: 4127)
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#define finite isfinite
|
||||
#endif
|
||||
|
||||
#if !defined(NAN)
|
||||
#if defined(_MSC_VER)
|
||||
/* NAN is not defined in VS 2012 or older */
|
||||
|
|
|
|||
Loading…
Reference in New Issue