Older toolchains used in GHA fail the __GNUC_PREREQ__ tests because
the macro is not defined. Check that the macro is defined before
testing with it to address a -Wundef warning from clang.
MFC after: 1 week
Differential D60555
ckdint.h: fix cross-build with older toolchains Authored by ngie on Oct 9 2026, 9:15 PM.
Details
Diff Detail
Event TimelineComment Actions Oddly enough this doesn't fail 100% of the time with our GHA workflows. I don't know why... Comment Actions __GNUC_PREREQ__ is defined in cdefs.h, which is included here. It's not clear to me what's going wrong. Could you please be more specific about what exactly is broken? |