diff options
author | James Laird <jlaird@hdfgroup.org> | 2004-07-23 17:24:59 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2004-07-23 17:24:59 (GMT) |
commit | 8d843938ba8275f8a52f32a26b5f6829830e3a8a (patch) | |
tree | 5db430aecc45fc1c7cd7783eab72ad0f1806c10d /src/H5config.h.in | |
parent | 12ee450f700800de37600494353e39e8be59e928 (diff) | |
download | hdf5-8d843938ba8275f8a52f32a26b5f6829830e3a8a.zip hdf5-8d843938ba8275f8a52f32a26b5f6829830e3a8a.tar.gz hdf5-8d843938ba8275f8a52f32a26b5f6829830e3a8a.tar.bz2 |
[svn-r8937]
Purpose:
Bug fix
Description:
Modification time test (mtime) would die silently on some systems. This is
because the code is very system-dependant (it relies on getting the current
time and the timezone from the OS).
Solution:
mtime test now uses TEST_ERROR macro to print "FAILED" and to output where the
failure occurred. Configure script is a little smarter about whether
gettimeofday() function returns the timezone correctly.
Further bugs will need to be addressed on a system-by-system basis.
Platforms tested:
sleipnir, arabica, verbena, copper, windows (VC7)
Diffstat (limited to 'src/H5config.h.in')
-rw-r--r-- | src/H5config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in index e6c92d7..f91986b 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -356,6 +356,9 @@ /* Define if `__tm_gmtoff' is a member of `struct tm' */ #undef HAVE___TM_GMTOFF +/* Define if gettimeofday() populates the tz pointer passed in */ +#undef GETTIMEOFDAY_GIVES_TZ + /* Define if your system's `MPI_File_set_size' function works for files over 2GB. */ #undef MPI_FILE_SET_SIZE_BIG |