From 35a04d41ffa6220854a4bebe677d36f5c06b592c Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 21 Nov 2001 15:08:58 -0500 Subject: [svn-r4635] Purpose: Code cleanup (sorta) Description: H5_SIZEOF_HSIZE_T was missing from among the definitions we provide for the variables we declare. Solution: Added it. Platforms tested: FreeBSD 4.4 (hawkwind) --- src/H5public.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/H5public.h b/src/H5public.h index 94d37ea..de83edf 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -130,14 +130,17 @@ typedef __int64 ssize_t; # if H5_SIZEOF_LONG_LONG>=8 typedef unsigned long long hsize_t; typedef signed long long hssize_t; +# define H5_SIZEOF_HSIZE_T H5_SIZEOF_LONG_LONG # elif H5_SIZEOF___INT64>=8 typedef unsigned __int64 hsize_t; typedef signed __int64 hssize_t; +# define H5_SIZEOF_HSIZE_T H5_SIZEOF___INT64 # endif -#else +#else /* H5_HAVE_LARGE_HSIZET */ typedef size_t hsize_t; typedef ssize_t hssize_t; -#endif +# define H5_SIZEOF_HSIZE_T H5_SIZEOF_SIZE_T +#endif /* H5_HAVE_LARGE_HSIZET */ /* * File addresses have there own types. -- cgit v0.12