This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use C99-compliant scanf under _GNU_SOURCE.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: <libc-alpha at sourceware dot org>, <ricaljasan at pacific dot net>, <schwab at suse dot de>
- Date: Mon, 12 Feb 2018 16:25:31 +0000
- Subject: Re: [PATCH] Use C99-compliant scanf under _GNU_SOURCE.
- Authentication-results: sourceware.org; auth=none
- References: <20180210181736.11570-1-zackw@panix.com>
On Sat, 10 Feb 2018, Zack Weinberg wrote:
> +#if defined __USE_ISOC99 || defined __USE_XOPEN2K
That's equivalent to just #ifdef __USE_ISOC99 (since __USE_XOPEN2K implies
__USE_ISOC99; POSIX.1-2001 is based on C99).
--
Joseph S. Myers
joseph@codesourcery.com