diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-08-27 18:36:44 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-08-27 18:36:44 (GMT) |
commit | 85074943fee8b8661c46ed9ccd130f25d4213e5a (patch) | |
tree | 7334e21bf2a819e935d4f466739fa34fd8548df2 /src/H5public.h | |
parent | 4766cfd58334de0103470ae89a5f0a9ab4154bae (diff) | |
download | hdf5-85074943fee8b8661c46ed9ccd130f25d4213e5a.zip hdf5-85074943fee8b8661c46ed9ccd130f25d4213e5a.tar.gz hdf5-85074943fee8b8661c46ed9ccd130f25d4213e5a.tar.bz2 |
[svn-r9171] Purpose:
"bug fix" sort of.
Description:
The current mpicc at TG-NCSA recognizes uint64_t but not
int64_t. hdf5 code rightly assumes when the unsigned type
is defined, the corresponding signed type should be valid
too. So, when it detected uint64_t is valid, it went ahead
using int64_t which ended in compiling failure.
Solution:
Changed the detection to check on int64_t instead. This does
not change any logic, just goes around the mpicc compiler error
at TG-NCSA.
Platforms tested:
h5committested and tested at TG-NCSA (pp) too.
Misc. update:
Diffstat (limited to 'src/H5public.h')
-rw-r--r-- | src/H5public.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5public.h b/src/H5public.h index 77b8bf1..56b6292 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -162,7 +162,7 @@ typedef ssize_t hssize_t; /* * File addresses have there own types. */ -#if H5_SIZEOF_UINT64_T>=8 +#if H5_SIZEOF_INT64_T>=8 typedef uint64_t haddr_t; # define HADDR_UNDEF ((haddr_t)(int64_t)(-1)) # ifdef H5_HAVE_PARALLEL |