summaryrefslogtreecommitdiff
path: root/src/c/auxiliaryFunctions/isnan/disnans.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/disnans.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/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"