summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5public.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 9288355..2132753 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -130,13 +130,16 @@ 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
typedef size_t hsize_t;
typedef ssize_t hssize_t;
+# define H5_SIZEOF_HSIZE_T H5_SIZEOF_SIZE_T
#endif
/*