summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-11-21 20:08:58 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-11-21 20:08:58 (GMT)
commit35a04d41ffa6220854a4bebe677d36f5c06b592c (patch)
tree8e10d6cecbabe5629f5513c9f9a20931253eba1f /src
parentdb8fa602a60a8eb369edd6e04ef9dc52a394cd47 (diff)
downloadhdf5-35a04d41ffa6220854a4bebe677d36f5c06b592c.zip
hdf5-35a04d41ffa6220854a4bebe677d36f5c06b592c.tar.gz
hdf5-35a04d41ffa6220854a4bebe677d36f5c06b592c.tar.bz2
[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)
Diffstat (limited to 'src')
-rw-r--r--src/H5public.h7
1 files 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.