diff options
Diffstat (limited to 'src/c/auxiliaryFunctions/isnan/zisnans.c')
-rw-r--r-- | src/c/auxiliaryFunctions/isnan/zisnans.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/c/auxiliaryFunctions/isnan/zisnans.c b/src/c/auxiliaryFunctions/isnan/zisnans.c index b7ebc1b..95cfd97 100644 --- a/src/c/auxiliaryFunctions/isnan/zisnans.c +++ b/src/c/auxiliaryFunctions/isnan/zisnans.c @@ -10,10 +10,9 @@ * */ -#ifdef _MSC_VER -#include <float.h> -#define isnan(x) _isnan((double)x)
-#endif +#ifdef _WIN32 +#include <math.h> +#endif #include "isnan.h" |