diff options
author | dgp <dgp@users.sourceforge.net> | 2015-03-13 17:14:16 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-03-13 17:14:16 (GMT) |
commit | f399206c210a987dad1e8f87fe889eeb1ffe00f2 (patch) | |
tree | 4028dfc954e0f6f9b4e70867f40812e0e95ba5d0 /win | |
parent | b2c41c81e4080d7e8636328c58f27ed15b70c29b (diff) | |
download | tcl-f399206c210a987dad1e8f87fe889eeb1ffe00f2.zip tcl-f399206c210a987dad1e8f87fe889eeb1ffe00f2.tar.gz tcl-f399206c210a987dad1e8f87fe889eeb1ffe00f2.tar.bz2 |
Upon further review, due the order of #include of headers, we do not have
a history of a #define STRICT active when the #include "windows.h" in
tclWinPort.h happens. Don't want to start something new now.
Diffstat (limited to 'win')
-rw-r--r-- | win/tclAppInit.c | 2 | ||||
-rw-r--r-- | win/tclWinPort.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c index a6c1a67..e06eaf5 100644 --- a/win/tclAppInit.c +++ b/win/tclAppInit.c @@ -16,7 +16,9 @@ #include "tcl.h" #define WIN32_LEAN_AND_MEAN +#define STRICT /* See MSDN Article Q83456 */ #include <windows.h> +#undef STRICT #undef WIN32_LEAN_AND_MEAN #include <locale.h> #include <stdlib.h> diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 1b23ee3..ca6b2bf 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -33,9 +33,7 @@ #endif #define WIN32_LEAN_AND_MEAN -#define STRICT /* See MSDN Article Q83456 */ #include <windows.h> -#undef STRICT #undef WIN32_LEAN_AND_MEAN /* Compatibility to older visual studio / windows platform SDK */ |