summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Include.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5Include.h')
-rw-r--r--c++/src/H5Include.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/c++/src/H5Include.h b/c++/src/H5Include.h
index 2fac773..7b0f37d 100644
--- a/c++/src/H5Include.h
+++ b/c++/src/H5Include.h
@@ -13,10 +13,17 @@
* access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-// Added this line for CC to compile at this time. Will remove it when
-// the problem of "Multiple declaration for RcsId" is fixed. BMR - 10/30/00
+#include <hdf5.h>
-// This problem is removed. I could replace all #include "H5Include.h"
-// by #include <hdf5.h>, but decide not to. BMR - 3/22/01
-
-#include "hdf5.h"
+// Define bool type for platforms that don't support bool yet
+#ifdef BOOL_NOTDEFINED
+#ifdef false
+#undef false
+#endif
+#ifdef true
+#undef true
+#endif
+typedef int bool;
+const bool false = 0;
+const bool true = 1;
+#endif