summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 642af05..fbf96eb 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -46,12 +46,12 @@ 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.
*/
-#if 1
-typedef size_t hsize_t;
-typedef ssize_t hssize_t;
-#else
+#ifdef HAVE_LARGE_HSIZET
typedef unsigned long long hsize_t;
typedef signed long long hssize_t;
+#else
+typedef size_t hsize_t;
+typedef ssize_t hssize_t;
#endif
#ifdef __cplusplus