Skip to content

Commit 88d101b

Browse files
committed
kernel: Fix define ID issue, needs undef first
1 parent 4011d72 commit 88d101b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/rtlil.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,7 @@ template <> struct IDMacroHelper<-1> {
569569
}
570570
};
571571

572+
#undef ID
572573
#define ID(_id) \
573574
YOSYS_NAMESPACE_PREFIX IDMacroHelper< \
574575
YOSYS_NAMESPACE_PREFIX lookup_well_known_id(#_id) \

0 commit comments

Comments
 (0)