summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/auxiliaryFunctions/isnan/zisnans.c
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/auxiliaryFunctions/isnan/zisnans.c')
-rw-r--r--2.3-1/src/c/auxiliaryFunctions/isnan/zisnans.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/2.3-1/src/c/auxiliaryFunctions/isnan/zisnans.c b/2.3-1/src/c/auxiliaryFunctions/isnan/zisnans.c
index b7ebc1bb..95cfd972 100644
--- a/2.3-1/src/c/auxiliaryFunctions/isnan/zisnans.c
+++ b/2.3-1/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"