diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2006-05-14 05:09:25 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2006-05-14 05:09:25 (GMT) |
commit | 84b03a51c7104f2b691c7067d0d82b28880b9086 (patch) | |
tree | 3a68086ed4a0d90232708c2214f5c1fa55fe775d /src/H5config.h.in | |
parent | 0742585e9aaacf513a5ab44da5e4755c9c0c5d60 (diff) | |
download | hdf5-84b03a51c7104f2b691c7067d0d82b28880b9086.zip hdf5-84b03a51c7104f2b691c7067d0d82b28880b9086.tar.gz hdf5-84b03a51c7104f2b691c7067d0d82b28880b9086.tar.bz2 |
[svn-r12348] Purpose:
Bug fix.
Description:
Some machines (e.g., HPUX) will have off64_t defined but no support
for stat64 unless certain LargeFile macro is turned on. This caused
the last fix on H5private not quite right which caused compiling failures.
Solution:
Added stat64 and fstat64 tests and then will use them only if they
are supported.
Platforms tested:
Tested on kelgia, copper and heping (pll).
(Compiling alright but tests for kelgia and heping are not done.
expect no problems.)
Diffstat (limited to 'src/H5config.h.in')
-rw-r--r-- | src/H5config.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in index 062ab9a..15bb630 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -93,6 +93,9 @@ /* Define to 1 if you have the `fseek64' function. */ #undef HAVE_FSEEK64 +/* Define to 1 if you have the `fstat64' function. */ +#undef HAVE_FSTAT64 + /* Define if the compiler understand the __FUNCTION__ keyword */ #undef HAVE_FUNCTION @@ -232,6 +235,9 @@ /* Define to 1 if you have the `srandom' function. */ #undef HAVE_SRANDOM +/* Define to 1 if you have the `stat64' function. */ +#undef HAVE_STAT64 + /* Define if `struct stat' has the `st_blocks' field */ #undef HAVE_STAT_ST_BLOCKS |