summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Include.h
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-03-10 17:51:45 (GMT)
committerGitHub <noreply@github.com>2021-03-10 17:51:45 (GMT)
commit20c452fe5c0955a81ae1222d846632f1525f08f4 (patch)
tree79ebdf43a51b3283625742e02614f1c3f15fc3b6 /c++/src/H5Include.h
parentc41a1cb2094ae0cc5fb40671181ce4e9f73ba9dc (diff)
downloadhdf5-20c452fe5c0955a81ae1222d846632f1525f08f4.zip
hdf5-20c452fe5c0955a81ae1222d846632f1525f08f4.tar.gz
hdf5-20c452fe5c0955a81ae1222d846632f1525f08f4.tar.bz2
Removed checks/workarounds for pre-C++89 compatibility (#449)
After 30+ years, just assume that the following exist: - extension-less includes - namespaces - std:: - static_cast - bool
Diffstat (limited to 'c++/src/H5Include.h')
-rw-r--r--c++/src/H5Include.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/c++/src/H5Include.h b/c++/src/H5Include.h
index 1f03150..e662d90 100644
--- a/c++/src/H5Include.h
+++ b/c++/src/H5Include.h
@@ -14,19 +14,6 @@
#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
-
// These are defined in H5Opkg.h, which should not be included in the C++ API,
// so re-define them here for now.