diff options
author | Sean McBride <sean@rogue-research.com> | 2021-11-08 18:44:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-08 18:44:06 (GMT) |
commit | 9cea7c9bb9c2a73649e586cdc3bb5483a521022f (patch) | |
tree | 305edbf8a3d02fd0907aa3c81a46cca1e21cd983 /src/H5Tpublic.h | |
parent | a8d03d30ffae22682d044782a17cefa1854de8ea (diff) | |
download | hdf5-9cea7c9bb9c2a73649e586cdc3bb5483a521022f.zip hdf5-9cea7c9bb9c2a73649e586cdc3bb5483a521022f.tar.gz hdf5-9cea7c9bb9c2a73649e586cdc3bb5483a521022f.tar.bz2 |
Assume C99 fixed sized ints exist, use them (#470)
* Committing clang-format changes
* Assume C99 fixed sized ints exist, use them
* Assume H5_SIZEOF_LONG_DOUBLE != 0, `long double` has existed since C89
Note, this is only assuming that `long double` exists, no assumptions about its size have been touched. Didn't remove any code that does things like test if `long double` and `double` have different sizes.
* Committing clang-format changes
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r-- | src/H5Tpublic.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h index bb5b0ef..911efdf 100644 --- a/src/H5Tpublic.h +++ b/src/H5Tpublic.h @@ -803,13 +803,11 @@ H5_DLLVAR hid_t H5T_VAX_F64_g; * C-style \Code{double} */ #define H5T_NATIVE_DOUBLE (H5OPEN H5T_NATIVE_DOUBLE_g) -#if H5_SIZEOF_LONG_DOUBLE != 0 /** * \ingroup PDTNAT * C-style \Code{long double} */ #define H5T_NATIVE_LDOUBLE (H5OPEN H5T_NATIVE_LDOUBLE_g) -#endif /** * \ingroup PDTNAT * HDF5 8-bit bitfield based on native types @@ -872,9 +870,7 @@ H5_DLLVAR hid_t H5T_NATIVE_LLONG_g; H5_DLLVAR hid_t H5T_NATIVE_ULLONG_g; H5_DLLVAR hid_t H5T_NATIVE_FLOAT_g; H5_DLLVAR hid_t H5T_NATIVE_DOUBLE_g; -#if H5_SIZEOF_LONG_DOUBLE != 0 H5_DLLVAR hid_t H5T_NATIVE_LDOUBLE_g; -#endif H5_DLLVAR hid_t H5T_NATIVE_B8_g; H5_DLLVAR hid_t H5T_NATIVE_B16_g; H5_DLLVAR hid_t H5T_NATIVE_B32_g; |