summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2015-08-21 22:44:22 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2015-08-21 22:44:22 (GMT)
commitab7d724ffd5749c1e3666fd1be0b92f41613af1e (patch)
treef3e820daa24477263f5fc3efd43bf459865f260b /src/H5public.h
parent7ce2d52cf69f6f6477e0f16e9d85d67cc54d5949 (diff)
downloadhdf5-ab7d724ffd5749c1e3666fd1be0b92f41613af1e.zip
hdf5-ab7d724ffd5749c1e3666fd1be0b92f41613af1e.tar.gz
hdf5-ab7d724ffd5749c1e3666fd1be0b92f41613af1e.tar.bz2
[svn-r27548] Revert r27545
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 858e67f..1b3711b 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -141,20 +141,7 @@ typedef int herr_t;
* printf("error determining whether data type is committed\n");
* }
*/
-#ifdef H5_HAVE_STDBOOL_H
- #include <stdbool.h>
-#else /* H5_HAVE_STDBOOL_H */
- #ifndef __cplusplus
- #if defined(H5_SIZEOF_BOOL) && (H5_SIZEOF_BOOL != 0)
- #define bool _Bool
- #else
- #define bool unsigned int
- #endif
- #define true 1
- #define false 0
- #endif /* __cplusplus */
-#endif /* H5_HAVE_STDBOOL_H */
-typedef bool hbool_t;
+typedef unsigned int hbool_t;
typedef int htri_t;
/* Define the ssize_t type if it not is defined */