diff options
author | dgp <dgp@users.sourceforge.net> | 2015-03-20 19:57:13 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-03-20 19:57:13 (GMT) |
commit | 6003e823bf029595ae3963127e3b1acddd49d8d1 (patch) | |
tree | ac7315cfce5cfddbd47ef45818a70c3338ff3661 | |
parent | 50426ba9c5cb0fa954959ab5b810695b6bf20111 (diff) | |
parent | f399206c210a987dad1e8f87fe889eeb1ffe00f2 (diff) | |
download | tcl-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.h | 10 | ||||
-rw-r--r-- | win/tclAppInit.c | 2 |
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> |