isnan() fix for msvc2013 onwards

This commit is contained in:
xorstream
2017-01-22 18:13:28 +11:00
parent 21c0580d63
commit 03dcce40b2
2 changed files with 6 additions and 9 deletions

View File

@@ -17,7 +17,13 @@
#if _MSC_VER < MSC_VER_VS2013
#define isinf(x) (!_finite(x))
#if defined(_WIN64)
#define isnan _isnanf
#else
#define isnan _isnan
#endif
#endif
static double rint( double x )
{