From 1de960855f489baa174b77cff15c46a84a55d201 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 14 Oct 2004 16:25:59 -0500 Subject: [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: --- test/tconfig.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v0.12