summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5Omtime.c5
-rw-r--r--src/H5private.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/H5Omtime.c b/src/H5Omtime.c
index ee19d56..5cd4ea6 100644
--- a/src/H5Omtime.c
+++ b/src/H5Omtime.c
@@ -154,7 +154,10 @@ H5O_mtime_decode(H5F_t UNUSED *f, const uint8_t *p,
ftime(&timebuffer);
tz = timebuffer.timezone;
- the_time -= tz * 60 - 3600 * _daylight;
+ /* daylight is not handled properly. Currently we just hard-code
+ the problem. */
+ the_time -= tz*60;
+ /*the_time -= tz * 60 - 3600 * _daylight;*/
}
#else
/*
diff --git a/src/H5private.h b/src/H5private.h
index f6f7b26..e9e3d20 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -144,11 +144,13 @@
inline is now in C but in the C99 standard and not the old C89 version so
MS doesn't recognize it yet (as of April 2001)
*/
+/*
#if defined(__MWERKS__) || defined(__cplusplus)
# define H5_inline inline
# else
# define H5_inline
#endif
+*/
#endif /*WIN32*/