From 581fe7cf75eb95f60e05a9f374be8eb038f6a343 Mon Sep 17 00:00:00 2001 From: Patrick Lu Date: Wed, 25 Aug 1999 10:33:16 -0500 Subject: [svn-r1594] added a conditional for __INT64 in the part of the code where the file addresses are given types. so now if the sizeof__int64 is >=8 then haddr_t is typedefed to an unsigned __int64 and the HADDR_UNDEF = ((haddr_t)(__int64)(-1)). I used the unsigned long long as my example. --- src/H5public.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/H5public.h b/src/H5public.h index a63f6cc..d2ef7ec 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -113,6 +113,9 @@ typedef ssize_t hssize_t; #elif SIZEOF_LONG_LONG>=8 typedef unsigned long long haddr_t; # define HADDR_UNDEF ((haddr_t)(long long)(-1)) +# elif SIZEOF___INT64>=8 + typedef unsigned __int64 haddr_t; +# define HADDR_UNDEF ((haddr_t)(__int64)(-1)) #else # error "nothing appropriate for haddr_t" #endif -- cgit v0.12