diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2015-08-21 18:52:30 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2015-08-21 18:52:30 (GMT) |
commit | 7ce2d52cf69f6f6477e0f16e9d85d67cc54d5949 (patch) | |
tree | df01935167a5d011693bb791e582b60f375669d7 /tools | |
parent | 1b2b0bd5a30cbc4227457abd08f563a8fd8c8b68 (diff) | |
download | hdf5-7ce2d52cf69f6f6477e0f16e9d85d67cc54d5949.zip hdf5-7ce2d52cf69f6f6477e0f16e9d85d67cc54d5949.tar.gz hdf5-7ce2d52cf69f6f6477e0f16e9d85d67cc54d5949.tar.bz2 |
[svn-r27545] Add first support for _Bool and make hbool_t a "real" _Bool if available
Fix tests accordingly
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perform/pio_standalone.h | 4 | ||||
-rw-r--r-- | tools/perform/sio_standalone.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/perform/pio_standalone.h b/tools/perform/pio_standalone.h index 584a057..762a564 100644 --- a/tools/perform/pio_standalone.h +++ b/tools/perform/pio_standalone.h @@ -105,10 +105,10 @@ typedef off_t h5_stat_size_t; * HDF Boolean type. */ #ifndef FALSE -# define FALSE 0 +# define FALSE false #endif #ifndef TRUE -# define TRUE 1 +# define TRUE true #endif diff --git a/tools/perform/sio_standalone.h b/tools/perform/sio_standalone.h index 4eb1ded..8176745 100644 --- a/tools/perform/sio_standalone.h +++ b/tools/perform/sio_standalone.h @@ -482,10 +482,10 @@ extern char *strdup(const char *s); * HDF Boolean type. */ #ifndef FALSE -# define FALSE 0 +# define FALSE false #endif #ifndef TRUE -# define TRUE 1 +# define TRUE true #endif /** From h5test.h **/ |