From: whitequark Date: Mon, 21 Dec 2020 21:17:33 +0000 (+0000) Subject: kernel: undef Tcl macros interfering with cxxrtl. X-Git-Tag: working-ls180~153^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac988cfac50050314f974dd1c7cc29ba4b46935d;p=yosys.git kernel: undef Tcl macros interfering with cxxrtl. --- 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