summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2015-03-13 16:55:39 (GMT)
committerdgp@users.sourceforge.net <dgp>2015-03-13 16:55:39 (GMT)
commita9a3093d991e953f36c890353bdd7c583fe76904 (patch)
treec493fb55fe19d0b734657ddfc18dab8402b23b14 /win
parentb5d28b1f8effef0a609adf94efedd1a0bafdb3d7 (diff)
downloadtcl-a9a3093d991e953f36c890353bdd7c583fe76904.zip
tcl-a9a3093d991e953f36c890353bdd7c583fe76904.tar.gz
tcl-a9a3093d991e953f36c890353bdd7c583fe76904.tar.bz2
The STRICT directive influences how #include "windows.h" works.
This is not a generic concern. Move it over the tclWinPort.h.
Diffstat (limited to 'win')
-rw-r--r--win/tclWinPort.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index ca6b2bf..1b23ee3 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -33,7 +33,9 @@
#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 */