kernel: undef Tcl macros interfering with cxxrtl.
authorwhitequark <whitequark@whitequark.org>
Mon, 21 Dec 2020 21:17:33 +0000 (21:17 +0000)
committerwhitequark <whitequark@whitequark.org>
Tue, 22 Dec 2020 03:48:09 +0000 (03:48 +0000)
kernel/yosys.h

index ab6eb5f8c4c24f9d68dd5decda7746d53bd9efa9..ac4436c52445dd41f03498e58140d6a40cb446d2 100644 (file)
@@ -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