summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-07-07 17:03:02 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-07-07 17:03:02 (GMT)
commit4327ebda2e4f07de2fd918abff116c3393ccf599 (patch)
tree3d8084a07d492526070c2f0f51a41084e909ebc3 /src
parent0f166ceda6b5002e4e45984ee981d8dab8ccf078 (diff)
downloadhdf5-4327ebda2e4f07de2fd918abff116c3393ccf599.zip
hdf5-4327ebda2e4f07de2fd918abff116c3393ccf599.tar.gz
hdf5-4327ebda2e4f07de2fd918abff116c3393ccf599.tar.bz2
[svn-r456] Changes since 19980706
---------------------- ./src/H5public.h If sizeof(size_t)==sizeof(long long) then we define `hsize_t' in terms of size_t to get rid of warnings on systems that treat `long long' the same as `long'.
Diffstat (limited to 'src')
-rw-r--r--src/H5public.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 6f1eb0b..16f007e 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -56,7 +56,7 @@ typedef int hbool_t;
* most systems, these are the same as size_t and ssize_t, but on systems
* with small address spaces these are defined to be larger.
*/
-#ifdef HAVE_LARGE_HSIZET
+#if defined(HAVE_LARGE_HSIZET) && SIZEOF_SIZE_T<SIZEOF_LONG_LONG
typedef unsigned long long hsize_t;
typedef signed long long hssize_t;
#else