This broken definition of __GNUC_PREREQ happens to be the first when compiling findutils with musl libc. Update it to match others, since __GNUC_VERSION__ isn't even a thing.
Signed-off-by: Henrik Lindström <hen...@lxm.se> --- lib/getopt-cdefs.in.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/getopt-cdefs.in.h b/lib/getopt-cdefs.in.h index a1d304d49e..95f06045f5 100644 --- a/lib/getopt-cdefs.in.h +++ b/lib/getopt-cdefs.in.h @@ -47,7 +47,7 @@ #endif #ifndef __GNUC_PREREQ -# if defined __GNUC__ && defined __GNUC_VERSION__ +# if defined __GNUC__ && defined __GNUC_MINOR__ # define __GNUC_PREREQ(maj, min) \ ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) # else -- 2.39.5