diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-01-03 20:48:38 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-01-03 20:48:38 (GMT) |
| commit | 2593fcb11c26182094fc72d9eb91ad489048b91a (patch) | |
| tree | 443b859698fde64db6dc1a421c96768f0543ea85 | |
| parent | 5004f536d3a23eafe1b910187d75db6007616425 (diff) | |
| parent | ae279a393f8d5d1938ed5fad5882fe59cd8050e8 (diff) | |
| download | tcl-2593fcb11c26182094fc72d9eb91ad489048b91a.zip tcl-2593fcb11c26182094fc72d9eb91ad489048b91a.tar.gz tcl-2593fcb11c26182094fc72d9eb91ad489048b91a.tar.bz2 | |
Fix conflict with timezone() function in some MSVC versions
| -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 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 |
