diff options
Diffstat (limited to 'src/H5public.h')
-rw-r--r-- | src/H5public.h | 15 |
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 */ |