summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-16 09:17:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-16 09:17:25 (GMT)
commit3db744b60506ba65731f996d7e3dc5224d232bc9 (patch)
tree274545e9246a2a642e1ceca8183e2f171205c59c /generic/tclBasic.c
parent2a95f6b4192876906ced706fcdf40926f6a7eab7 (diff)
parent096fcb63ad03e22727db52eba9d7926194f673ae (diff)
downloadtcl-3db744b60506ba65731f996d7e3dc5224d232bc9.zip
tcl-3db744b60506ba65731f996d7e3dc5224d232bc9.tar.gz
tcl-3db744b60506ba65731f996d7e3dc5224d232bc9.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).
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index cfb5c43..5779ca5 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -4990,7 +4990,6 @@ Tcl_Eval(
*----------------------------------------------------------------------
*/
-#undef Tcl_EvalObj
int
Tcl_EvalObj(
Tcl_Interp *interp,
@@ -4999,7 +4998,6 @@ Tcl_EvalObj(
return Tcl_EvalObjEx(interp, objPtr, 0);
}
-#undef Tcl_GlobalEvalObj
int
Tcl_GlobalEvalObj(
Tcl_Interp *interp,