diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-01-16 09:17:25 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-01-16 09:17:25 (GMT) |
commit | c17286ae46e83cd0c6714e81ee05998e316ca07f (patch) | |
tree | 274545e9246a2a642e1ceca8183e2f171205c59c /generic/tcl.h | |
parent | fbd808411f000768d813ffc10a99ffdf6e78969e (diff) | |
parent | 983937330a6bac21581e964cb6db12583896570b (diff) | |
download | tcl-c17286ae46e83cd0c6714e81ee05998e316ca07f.zip tcl-c17286ae46e83cd0c6714e81ee05998e316ca07f.tar.gz tcl-c17286ae46e83cd0c6714e81ee05998e316ca07f.tar.bz2 |
Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by default.
Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do).
FossilOrigin-Name: acce59a0153a67fbaaaf23183bd506af76a3ffa7
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 145124c..33730d4 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -2407,17 +2407,6 @@ EXTERN void Tcl_GetMemoryInfo _ANSI_ARGS_((Tcl_DString *dsPtr)); #ifndef TCL_NO_DEPRECATED /* - * Deprecated Tcl functions: - */ - -# undef Tcl_EvalObj -# define Tcl_EvalObj(interp,objPtr) \ - Tcl_EvalObjEx((interp),(objPtr),0) -# undef Tcl_GlobalEvalObj -# define Tcl_GlobalEvalObj(interp,objPtr) \ - Tcl_EvalObjEx((interp),(objPtr),TCL_EVAL_GLOBAL) - - /* * These function have been renamed. The old names are deprecated, but we * define these macros for backwards compatibilty. */ |