From 3b0d0ef6d1b26976644836a2a3de8dcc7af58474 Mon Sep 17 00:00:00 2001 From: Sergey Dolgov Date: Tue, 19 Nov 2024 02:13:54 -0800 Subject: [PATCH] plnShell: fix compilation in NO_TCL mode --- planning/src/RS/plnShell.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/planning/src/RS/plnShell.h b/planning/src/RS/plnShell.h index 5850e615..295a78a0 100644 --- a/planning/src/RS/plnShell.h +++ b/planning/src/RS/plnShell.h @@ -7,7 +7,17 @@ #ifndef _pln_Shell_H_0df6e17bc86545_ #define _pln_Shell_H_0df6e17bc86545_ -#include +#ifdef PLN_ENABLE_TCL + #include +#else + struct Tcl_Interp; + struct Tcl_Obj; + using Tcl_CmdProc = void*; + using Tcl_CmdDeleteProc = void*; + using ClientData = void*; + #define TCL_OK 0 +#endif + #include "RS/rsEnv.h" namespace pln {