diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-01-23 16:24:38 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-01-23 16:24:38 (GMT) |
commit | dd9b45489d1f072958e8adbd66ba38f3491eff3c (patch) | |
tree | 228c04d217777083a6cd3f2a42a70988b1bf24e0 /src/H5Omtime.c | |
parent | 47584398593f3a2053cd6e5d2821d22cecfa1193 (diff) | |
download | hdf5-dd9b45489d1f072958e8adbd66ba38f3491eff3c.zip hdf5-dd9b45489d1f072958e8adbd66ba38f3491eff3c.tar.gz hdf5-dd9b45489d1f072958e8adbd66ba38f3491eff3c.tar.bz2 |
Removed some C++-style comments from H5Omtime.c.
Fixes HDFFV-10110.
Diffstat (limited to 'src/H5Omtime.c')
-rw-r--r-- | src/H5Omtime.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/H5Omtime.c b/src/H5Omtime.c index fdd9a31..58cc2c1 100644 --- a/src/H5Omtime.c +++ b/src/H5Omtime.c @@ -179,10 +179,11 @@ H5O_mtime_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5 int i; struct tm tm; void *ret_value = NULL; /* Return value */ -#if _MSC_VER >= 1900 // VS 2015 -// In gcc and in Visual Studio prior to VS 2015 'timezone' is a global -// variable declared in time.h. That variable was deprecated and in VS 2015 -// is removed, with _get_timezone replacing it. +#if _MSC_VER >= 1900 /* VS 2015 */ + /* In gcc and in Visual Studio prior to VS 2015 'timezone' is a global + * variable declared in time.h. That variable was deprecated and in VS 2015 + * is removed, with _get_timezone replacing it. + */ long timezone = 0; #endif @@ -225,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) - #if _MSC_VER >= 1900 // VS 2015 + #if _MSC_VER >= 1900 /* VS 2015 */ HDget_timezone(&timezone); #endif /* GNU/Linux systems */ |