Skip to content

Commit 3b0d0ef

Browse files
committed
plnShell: fix compilation in NO_TCL mode
1 parent 56f5ee6 commit 3b0d0ef

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

planning/src/RS/plnShell.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,17 @@
77
#ifndef _pln_Shell_H_0df6e17bc86545_
88
#define _pln_Shell_H_0df6e17bc86545_
99

10-
#include <tcl.h>
10+
#ifdef PLN_ENABLE_TCL
11+
#include <tcl.h>
12+
#else
13+
struct Tcl_Interp;
14+
struct Tcl_Obj;
15+
using Tcl_CmdProc = void*;
16+
using Tcl_CmdDeleteProc = void*;
17+
using ClientData = void*;
18+
#define TCL_OK 0
19+
#endif
20+
1121
#include "RS/rsEnv.h"
1222

1323
namespace pln {

0 commit comments

Comments
 (0)