summaryrefslogtreecommitdiffstats
path: root/win/tclAppInit.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-03-13 17:14:16 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-03-13 17:14:16 (GMT)
commiteb1bcbe68ddda0e199b55e34cf2b1360dbd89d59 (patch)
tree4028dfc954e0f6f9b4e70867f40812e0e95ba5d0 /win/tclAppInit.c
parenta5e96da45818cdb2ed907232f501bebd1283b8b2 (diff)
downloadtcl-eb1bcbe68ddda0e199b55e34cf2b1360dbd89d59.zip
tcl-eb1bcbe68ddda0e199b55e34cf2b1360dbd89d59.tar.gz
tcl-eb1bcbe68ddda0e199b55e34cf2b1360dbd89d59.tar.bz2
Upon further review, due the order of #include of headers, we do not havedgp_win_specific_strict
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/tclAppInit.c')
-rw-r--r--win/tclAppInit.c2
1 files changed, 2 insertions, 0 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>