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)
commit6003e823bf029595ae3963127e3b1acddd49d8d1 (patch)
treeac7315cfce5cfddbd47ef45818a70c3338ff3661
parent50426ba9c5cb0fa954959ab5b810695b6bf20111 (diff)
parentf399206c210a987dad1e8f87fe889eeb1ffe00f2 (diff)
downloadtcl-6003e823bf029595ae3963127e3b1acddd49d8d1.zip
tcl-6003e823bf029595ae3963127e3b1acddd49d8d1.tar.gz
tcl-6003e823bf029595ae3963127e3b1acddd49d8d1.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>