This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 09/17] Regex: Add undefs of various routines and macros.
- From: arnold at skeeve dot com
- To: schwab at linux-m68k dot org, arnold at skeeve dot com
- Cc: libc-alpha at sourceware dot org, carlos at redhat dot com
- Date: Fri, 08 Dec 2017 05:49:33 -0700
- Subject: Re: [PATCH 09/17] Regex: Add undefs of various routines and macros.
- Authentication-results: sourceware.org; auth=none
- References: <201712080916.vB89GxOG005507@skeeve.com> <87indhflfy.fsf@linux-m68k.org>
Andreas Schwab <schwab@linux-m68k.org> wrote:
> On Dez 08 2017, Arnold Robbins <arnold@skeeve.com> wrote:
>
> > @@ -97,6 +97,10 @@
> > # define BE(expr, val) __builtin_expect (expr, val)
> > #else
> > # define BE(expr, val) (expr)
> > +# ifdef inline
> > +# undef inline
> > +# endif
>
> It's not an error to undef an undefined macro.
>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
Heaven only knows how long I've had that bit. But all you're saying
is that the change could be reduced from 3 lines to 1. A minor improvement
to which I have no objection.
THanks,
Arnold