summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-03 20:48:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-03 20:48:38 (GMT)
commit2593fcb11c26182094fc72d9eb91ad489048b91a (patch)
tree443b859698fde64db6dc1a421c96768f0543ea85 /win
parent5004f536d3a23eafe1b910187d75db6007616425 (diff)
parentae279a393f8d5d1938ed5fad5882fe59cd8050e8 (diff)
downloadtcl-2593fcb11c26182094fc72d9eb91ad489048b91a.zip
tcl-2593fcb11c26182094fc72d9eb91ad489048b91a.tar.gz
tcl-2593fcb11c26182094fc72d9eb91ad489048b91a.tar.bz2
Fix conflict with timezone() function in some MSVC versions
Diffstat (limited to 'win')
-rw-r--r--win/tclWinTime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c
index 917b76c..7f4f7e5 100644
--- a/win/tclWinTime.c
+++ b/win/tclWinTime.c
@@ -532,6 +532,7 @@ TclpGetDate(
if (!useGMT) {
#if defined(_MSC_VER) && (_MSC_VER >= 1900)
+# undef timezone /* prevent conflict with timezone() function */
long timezone = 0;
#endif