summaryrefslogtreecommitdiff
path: root/src/c/auxiliaryFunctions/isnan/disnans.c
diff options
context:
space:
mode:
authorsiddhu89902017-05-22 15:13:54 +0530
committersiddhu89902017-05-22 15:13:54 +0530
commitb33afdb2311fbe8aad4c5c614c6098585fe2d279 (patch)
tree3d8db91388dab60159248fb0cfef160ca03cefeb /src/c/auxiliaryFunctions/isnan/disnans.c
parentf0e074cc43f04f58aafe00742b9748a09f77894f (diff)
parente36eac94dd517bb69d3e5782516ee58942451991 (diff)
downloadScilab2C_fossee_old-b33afdb2311fbe8aad4c5c614c6098585fe2d279.tar.gz
Scilab2C_fossee_old-b33afdb2311fbe8aad4c5c614c6098585fe2d279.tar.bz2
Scilab2C_fossee_old-b33afdb2311fbe8aad4c5c614c6098585fe2d279.zip
Bugs fixed for Scilab 6.0
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"