3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-14 13:41:27 +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
parent b9315dc6a5
commit 28576e8f2c

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_)