summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/auxiliaryFunctions/isnan/disnans.c
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/auxiliaryFunctions/isnan/disnans.c')
-rw-r--r--2.3-1/src/c/auxiliaryFunctions/isnan/disnans.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/2.3-1/src/c/auxiliaryFunctions/isnan/disnans.c b/2.3-1/src/c/auxiliaryFunctions/isnan/disnans.c
index 0d0a5699..99b5b664 100644
--- a/2.3-1/src/c/auxiliaryFunctions/isnan/disnans.c
+++ b/2.3-1/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"