From ac988cfac50050314f974dd1c7cc29ba4b46935d Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 21 Dec 2020 21:17:33 +0000 Subject: [PATCH] kernel: undef Tcl macros interfering with cxxrtl. --- kernel/yosys.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/yosys.h b/kernel/yosys.h index ab6eb5f8c..ac4436c52 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -93,6 +93,8 @@ extern Tcl_Obj *Tcl_NewIntObj(int intValue); extern Tcl_Obj *Tcl_NewListObj(int objc, Tcl_Obj *const objv[]); extern Tcl_Obj *Tcl_ObjSetVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, Tcl_Obj *newValuePtr, int flags); # endif +# undef CONST +# undef INLINE #endif #ifdef _WIN32 -- 2.30.2