summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/tclWinTime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c
index db8859c..454709d 100644
--- a/win/tclWinTime.c
+++ b/win/tclWinTime.c
@@ -648,6 +648,7 @@ TclpGetDate(
if (!useGMT) {
#if defined(_MSC_VER) && (_MSC_VER >= 1900)
+# undef timezone /* prevent conflict with timezone() function */
long timezone = 0;
#endif