Skip to content

Commit 2d7a191

Browse files
authored
Merge pull request #5452 from vs34/fix-undef-id
kernel: Fix define ID issue, needs undef first
2 parents d0a41d4 + 88d101b commit 2d7a191

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)