Skip to content

Commit

Permalink
plnShell: fix compilation in NO_TCL mode
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-rs committed Nov 19, 2024
1 parent 56f5ee6 commit 3b0d0ef
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion planning/src/RS/plnShell.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@
#ifndef _pln_Shell_H_0df6e17bc86545_
#define _pln_Shell_H_0df6e17bc86545_

#include <tcl.h>
#ifdef PLN_ENABLE_TCL
#include <tcl.h>
#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 {
Expand Down

0 comments on commit 3b0d0ef

Please sign in to comment.