bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] printf-parse: pull in features.h for __GLIBC__


From: Mike Frysinger
Subject: Re: [PATCH] printf-parse: pull in features.h for __GLIBC__
Date: Sun, 21 Nov 2010 03:12:24 -0500
User-agent: KMail/1.13.5 (Linux/2.6.36; KDE/4.5.2; x86_64; ; )

On Saturday, November 20, 2010 17:50:44 Bruno Haible wrote:
> Mike Frysinger wrote:
> > --- a/lib/printf-parse.h
> > +++ b/lib/printf-parse.h
> > @@ -25,6 +25,9 @@
> > 
> >  #include "printf-args.h"
> > 
> > +#ifdef HAVE_FEATURES_H
> > +# include <features.h>     /* for __GLIBC__ */
> > +#endif
> > 
> >  /* Flags */
> >  #define FLAG_GROUP       1      /* ' flag */
> 
> The same problem - __GLIBC__ being tested without a guarantee that
> <features.h> has been included - exists also in a couple of other places.
> I'm fixing them like this:

works for me ... thanks !
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]