summaryrefslogtreecommitdiff
path: root/src/c/auxiliaryFunctions/isnan/disnans.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/auxiliaryFunctions/isnan/disnans.c')
-rw-r--r--src/c/auxiliaryFunctions/isnan/disnans.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/c/auxiliaryFunctions/isnan/disnans.c b/src/c/auxiliaryFunctions/isnan/disnans.c
index 0d0a569..99b5b66 100644
--- a/src/c/auxiliaryFunctions/isnan/disnans.c
+++ b/src/c/auxiliaryFunctions/isnan/disnans.c
@@ -10,10 +10,10 @@
*
*/
-#ifdef _MSC_VER
-#include <float.h>
-#define isnan(x) _isnan((double)x)
-#endif
+
+#ifdef _WIN32
+#include <math.h>
+#endif
#include "isnan.h"