Feb 3, 2025 14:39:39 Zhaoming Luo <zhming...@163.com>:
Ok, maybe I should try to be more patient :-). Thanks anyway.
Actually you don't have to unless it's worth it. I just used to work by finding/fixing codes on large code base, so I might be a little quicker. And I am also curious about why BSD is defined here.
I am dealing with some libs, like abseil, that fail to build on Hurd Debian. Many are caused by incorrect platform detection with wrong macro like in this case. And I learned that __GNU__ is the correct way to detect Hurd, which was learned from youpi
You can #define BSD foobar and check the conflicting error message.
That 's the wise way.
or some grep -e '\<BSD\>' /usr/include | grep '#define'
That's what I did.