summaryrefslogtreecommitdiffstats
path: root/src/H5system.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5system.c')
-rw-r--r--src/H5system.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/H5system.c b/src/H5system.c
index 098c109..fc01366 100644
--- a/src/H5system.c
+++ b/src/H5system.c
@@ -603,10 +603,12 @@ void HDsrand(unsigned int seed)
long HDget_timezone(void)
{
-#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;
#define HDget_timezone(V) _get_timezone(V);