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

@@ -379,13 +379,4 @@ static inline int ctpop64(uint64_t val)
# error Unknown sizeof long
#endif
#ifdef _MSC_VER
#include <float.h>
#if defined(_WIN64)
#define isnan _isnanf
#else
#define isnan _isnan
#endif
#endif
#endif