summaryrefslogtreecommitdiffstats
path: root/src/H5win32defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5win32defs.h')
-rw-r--r--src/H5win32defs.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h
index 479e620..5411068 100644
--- a/src/H5win32defs.h
+++ b/src/H5win32defs.h
@@ -115,6 +115,9 @@ struct timespec
#define HDroundf(V) Wroundf(V)
#endif /* MSC_VER < 1700 */
+#endif /* H5_HAVE_VISUAL_STUDIO */
+
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
@@ -149,15 +152,6 @@ extern "C" {
#define HDgetlogin() Wgetlogin()
#define HDsnprintf c99_snprintf /*varargs*/
#define HDvsnprintf c99_vsnprintf /*varargs*/
-#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.
- */
- #define HDget_timezone(V) _get_timezone(V);
-#endif /* VS 2015 */
-
-#endif /* H5_HAVE_VISUAL_STUDIO */
/* Non-POSIX functions */