summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-03 20:47:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-03 20:47:40 (GMT)
commit07407a7286052d1c5f198558a6bc27a443268242 (patch)
treebe0f32db3f4dc144afc2273791cb005f98a06981 /win
parent6c6d887a534e6a010e3a1df020c22a635faad174 (diff)
downloadtcl-07407a7286052d1c5f198558a6bc27a443268242.zip
tcl-07407a7286052d1c5f198558a6bc27a443268242.tar.gz
tcl-07407a7286052d1c5f198558a6bc27a443268242.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 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