summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-10-14 21:25:58 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-10-14 21:25:58 (GMT)
commit1ab3445511ed5808299c64c7769ce1d7e7fd203c (patch)
tree329870d20b2c7f3a90dfb4164bc8c3557120acd5
parent3ea0ad898e53534ae4b630ac989248fafe9f12ea (diff)
downloadhdf5-1ab3445511ed5808299c64c7769ce1d7e7fd203c.zip
hdf5-1ab3445511ed5808299c64c7769ce1d7e7fd203c.tar.gz
hdf5-1ab3445511ed5808299c64c7769ce1d7e7fd203c.tar.bz2
[svn-r9426] 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