summaryrefslogtreecommitdiff
path: root/src/c/auxiliaryFunctions/isnan/cisnans.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/auxiliaryFunctions/isnan/cisnans.c')
-rw-r--r--src/c/auxiliaryFunctions/isnan/cisnans.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/c/auxiliaryFunctions/isnan/cisnans.c b/src/c/auxiliaryFunctions/isnan/cisnans.c
index 7fc0759..623cea0 100644
--- a/src/c/auxiliaryFunctions/isnan/cisnans.c
+++ b/src/c/auxiliaryFunctions/isnan/cisnans.c
@@ -10,14 +10,11 @@
*
*/
+#ifdef _WIN32
+#include <math.h>
+#endif
-
-#ifdef _MSC_VER
-#include <float.h>
-#define isnan(x) _isnan((double)x)
-#endif
-
-#include "isnan.h"
+#include "isnan.h"
float cisnans(floatComplex in) {