Subject: Re: [PATCH] gettext.c: only work around the vsnprintf bug on glibc < 2.17

From: Andreas Schwab <[email-masked]>
Date: Sat, 30 Nov 2013 10:51:33 +0100

Nguyễn Thái Ngọc Duy <[email-masked]> 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, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."