From: Andreas Schwab Date: Sat, 30 Nov 2013 09:51:33 GMT Subject: Re: [PATCH] gettext.c: only work around the vsnprintf bug on glibc < 2.17 Message-ID: In-Reply-To: <1385776291-21006-1-git-send-email-pclouds@gmail.com> Nguyễn Thái Ngọc Duy writes: > diff --git a/gettext.c b/gettext.c > index 71e9545..91e679d 100644 > --- a/gettext.c > +++ b/gettext.c > @@ -18,6 +18,13 @@ > # endif > #endif > > +#ifdef USE_GLIBC > +#ifndef _GNU_SOURCE > +#define _GNU_SOURCE > +#endif Defining a feature test macro after any system header is included is undefined. 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."