summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-10-14 21:25:59 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-10-14 21:25:59 (GMT)
commit1de960855f489baa174b77cff15c46a84a55d201 (patch)
tree6965be5b6e4fbf66a93e28f4c839ad824b7543e6
parent535c97a5810245da88f8eb183186f64c5ec1c8c9 (diff)
downloadhdf5-1de960855f489baa174b77cff15c46a84a55d201.zip
hdf5-1de960855f489baa174b77cff15c46a84a55d201.tar.gz
hdf5-1de960855f489baa174b77cff15c46a84a55d201.tar.bz2
[svn-r9427] Purpose:
Bug fix. Description: AIX defines different sizes of the signed and unsigned int_fast8_t. Changed the code to check each type individually and do not verify they must be the same size. Platforms tested: Tested in copper only since the change is trivial. Misc. update:
-rw-r--r--test/tconfig.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/tconfig.c b/test/tconfig.c
index 1503fc8..9e2a792 100644
--- a/test/tconfig.c
+++ b/test/tconfig.c
@@ -146,8 +146,14 @@ test_config_ctypes(void)
vrfy_cint_type(int64_t, uint64_t, H5_SIZEOF_INT64_T);
#endif
+ /* Some vendors have different sizes for the signed and unsigned */
+ /* fast8_t. Need to check them individually. */
#if H5_SIZEOF_INT_FAST8_T > 0
- vrfy_cint_type(int_fast8_t, uint_fast8_t, H5_SIZEOF_INT_FAST8_T);
+ vrfy_ctype(int_fast8_t, H5_SIZEOF_INT_FAST8_T);
+#endif
+
+#if H5_SIZEOF_UINT_FAST8_T > 0
+ vrfy_ctype(uint_fast8_t, H5_SIZEOF_UINT_FAST8_T);
#endif
#if H5_SIZEOF_INT_FAST16_T > 0