Building a program which calls `dirname` in C99 mode results in the following error: https://builds.sr.ht/~emersion/job/347469#bottom Instead, the compat selection which uses C11's _Generic should be disabled when building with C99 mode.
Perhaps cdefs.h should be using __has_feature instead of __has_extension when defining __generic().