This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 09/17] Regex: Add undefs of various routines and macros.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]