[PATCH] Fix typo affecting __GNUC_PREREQ macro definition

2024-09-21 Thread Henrik Lindström
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 --- lib/getopt-cdefs.in.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

Re: [PATCH] Fix typo affecting __GNUC_PREREQ macro definition

2024-09-21 Thread Bruno Haible
> 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__ &&

Re: [PATCH] Fix typo affecting __GNUC_PREREQ macro definition

2024-09-21 Thread Bruno Haible
Henrik Lindström wrote: > 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__ > +#