summaryrefslogtreecommitdiffstats
path: root/src/H5Omtime.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-10-27 15:22:09 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-10-27 15:22:09 (GMT)
commit3537b69b5b57ac476bec26dd84be88a7c14123b3 (patch)
tree35bc6a430ceb18e954308b6f0fb727323d931801 /src/H5Omtime.c
parent8e179b17aadbf8e011e59224270920878499dfa1 (diff)
downloadhdf5-3537b69b5b57ac476bec26dd84be88a7c14123b3.zip
hdf5-3537b69b5b57ac476bec26dd84be88a7c14123b3.tar.gz
hdf5-3537b69b5b57ac476bec26dd84be88a7c14123b3.tar.bz2
[svn-r28236] Rework get timezone function to add another exclusion define (H5_HAVA_TM_GMTOFF).
Also needed to add prototype - followed lead of HDrand. Tested linux and windows
Diffstat (limited to 'src/H5Omtime.c')
-rw-r--r--src/H5Omtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Omtime.c b/src/H5Omtime.c
index d8c5305..272e54a 100644
--- a/src/H5Omtime.c
+++ b/src/H5Omtime.c
@@ -226,7 +226,7 @@ H5O_mtime_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5
/* BSD-like systems */
the_time += tm.tm_gmtoff;
#elif defined(H5_HAVE_TIMEZONE)
- the_time -= HDget_timezone() - (tm.tm_isdst ? 3600 : 0);
+ the_time -= HDgettimezone() - (tm.tm_isdst ? 3600 : 0);
#else
/*
* The catch-all. If we can't convert a character string universal