summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-03-20 19:57:13 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-03-20 19:57:13 (GMT)
commitee09bf7f95bff9d60eea22a0611c8fb8cd63d39c (patch)
treeac7315cfce5cfddbd47ef45818a70c3338ff3661
parentdf856f976bd0ae1e57e1b1c2ed112f918d4a64bc (diff)
parenteb1bcbe68ddda0e199b55e34cf2b1360dbd89d59 (diff)
downloadtcl-ee09bf7f95bff9d60eea22a0611c8fb8cd63d39c.zip
tcl-ee09bf7f95bff9d60eea22a0611c8fb8cd63d39c.tar.gz
tcl-ee09bf7f95bff9d60eea22a0611c8fb8cd63d39c.tar.bz2
Remove STRICT directive from public header. It does approximately nothing,
and doesn't belong in generic code.
-rw-r--r--generic/tcl.h10
-rw-r--r--win/tclAppInit.c2
2 files changed, 2 insertions, 10 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index ae425bb..f09315b 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -77,16 +77,6 @@ extern "C" {
#endif
/*
- * STRICT: See MSDN Article Q83456
- */
-
-#ifdef _WIN32
-# ifndef STRICT
-# define STRICT
-# endif
-#endif /* _WIN32 */
-
-/*
* Utility macros: STRINGIFY takes an argument and wraps it in "" (double
* quotation marks), JOIN joins two arguments.
*/
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>