summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjofret2009-04-21 06:24:02 +0000
committerjofret2009-04-21 06:24:02 +0000
commit96c5dcc30b82ad7594d423867fc043e87cd2f7e9 (patch)
tree8f7e5a30786b4b32c1d906bb0d17cef24db187d8
parent4dc0718d606e9b343badb136d74e82757dd8c659 (diff)
downloadscilab2c-96c5dcc30b82ad7594d423867fc043e87cd2f7e9.tar.gz
scilab2c-96c5dcc30b82ad7594d423867fc043e87cd2f7e9.tar.bz2
scilab2c-96c5dcc30b82ad7594d423867fc043e87cd2f7e9.zip
including stdbool is useless under windows
-rw-r--r--scilab2c/src/type/doubleComplex.h2
-rw-r--r--scilab2c/src/type/floatComplex.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/scilab2c/src/type/doubleComplex.h b/scilab2c/src/type/doubleComplex.h
index 2d252bc7..5434a4f2 100644
--- a/scilab2c/src/type/doubleComplex.h
+++ b/scilab2c/src/type/doubleComplex.h
@@ -25,7 +25,9 @@
#endif
#include <stdlib.h>
+#ifndef _MSC_VER
#include <stdbool.h>
+#endif
#ifndef STDC99
/*
diff --git a/scilab2c/src/type/floatComplex.h b/scilab2c/src/type/floatComplex.h
index 65912c8e..653723c5 100644
--- a/scilab2c/src/type/floatComplex.h
+++ b/scilab2c/src/type/floatComplex.h
@@ -24,7 +24,9 @@
# endif
#endif
-#include <stdbool.h>
+#ifndef _MSC_VER
+ #include <stdbool.h>
+#endif
#ifndef STDC99
/*