summaryrefslogtreecommitdiff
path: root/src/c/auxiliaryFunctions/isnan/zisnans.c
diff options
context:
space:
mode:
authorSiddhesh Wani2017-05-04 16:15:18 +0530
committerSiddhesh Wani2017-05-04 16:15:18 +0530
commite36eac94dd517bb69d3e5782516ee58942451991 (patch)
tree54347eba02cd5287ac5884ab84a5ca0c99f33edb /src/c/auxiliaryFunctions/isnan/zisnans.c
parentc7e9597db39140c1d982f796a8e1f03bb54e7905 (diff)
downloadScilab2C_fossee_old-e36eac94dd517bb69d3e5782516ee58942451991.tar.gz
Scilab2C_fossee_old-e36eac94dd517bb69d3e5782516ee58942451991.tar.bz2
Scilab2C_fossee_old-e36eac94dd517bb69d3e5782516ee58942451991.zip
Basic functions and image processing working with MSVC on windows x64
Diffstat (limited to 'src/c/auxiliaryFunctions/isnan/zisnans.c')
-rw-r--r--src/c/auxiliaryFunctions/isnan/zisnans.c7
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"