diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-01-03 20:47:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-01-03 20:47:40 (GMT) |
commit | 07407a7286052d1c5f198558a6bc27a443268242 (patch) | |
tree | be0f32db3f4dc144afc2273791cb005f98a06981 /win | |
parent | 6c6d887a534e6a010e3a1df020c22a635faad174 (diff) | |
download | tcl-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.c | 1 |
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 |