3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-11 20:21:26 +00:00

Add macOS workaround to constids.inc

The ID(OVERFLOW) IdString isn't used widely enough that we require a
statically allocated IdString, but I think it's good to have an example
workaround in place in case more collisions come up.
This commit is contained in:
Jannis Harder 2025-09-08 13:55:09 +02:00 committed by Robert O'Callahan
parent 985b9164da
commit 6498265eb0

View file

@ -1,4 +1,10 @@
// These must be in perfect ASCII order!!!
// Workaround for macos's math.h defining an OVERFLOW macro
#ifdef OVERFLOW
#undef OVERFLOW
#endif
X($_ALDFFE_NNN_)
X($_ALDFFE_NNP_)
X($_ALDFFE_NPN_)