From 0fd21c5dd08de33ecb24bef9bcf700a40b3d2db3 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Mon, 21 Nov 2022 23:22:03 +0000 Subject: TCL_OUT_LINE_COMPILE is deprecated --- generic/tclInt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/generic/tclInt.h b/generic/tclInt.h index 8c5d1da..31c7fcb 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -1428,7 +1428,9 @@ struct CompileEnv; * sake of old code only. */ -#define TCL_OUT_LINE_COMPILE TCL_ERROR +#ifndef TCL_NO_DEPRECATED +# define TCL_OUT_LINE_COMPILE TCL_ERROR +#endif typedef int (CompileProc)(Tcl_Interp *interp, Tcl_Parse *parsePtr, struct Command *cmdPtr, struct CompileEnv *compEnvPtr); -- cgit v0.12