diff options
Diffstat (limited to 'generic/tclDecls.h')
-rw-r--r-- | generic/tclDecls.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h index deb2a21..cb8f8c1 100644 --- a/generic/tclDecls.h +++ b/generic/tclDecls.h @@ -12,6 +12,14 @@ #ifndef _TCLDECLS #define _TCLDECLS +#if !defined(BUILD_tcl) +# define TCL_DEPRECATED(msg) EXTERN TCL_DEPRECATED_API(msg) +#elif defined(TCL_NO_DEPRECATED) +# define TCL_DEPRECATED(msg) MODULE_SCOPE +#else +# define TCL_DEPRECATED(msg) EXTERN +#endif + /* * WARNING: This file is automatically generated by the tools/genStubs.tcl * script. Any modifications to the function declarations below should be made |