This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Only declare sys_errlist and sys_nerr on `linux' targets
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Roland McGrath <roland at frob dot com>
- Cc: Jeff Bailey <jbailey at nisa dot net>, libc-alpha at sources dot redhat dot com, Marcus Brinkmann <Marcus dot Brinkmann at ruhr-uni-bochum dot de>
- Date: Wed, 31 Jul 2002 16:01:21 -0700
- Subject: Re: Only declare sys_errlist and sys_nerr on `linux' targets
- References: <20020731220450.B68E51BA18@perdition.linnaean.org>
Roland McGrath wrote:
That looks ok to me. An alternate approach I almost finished implementing
is to define some macro in bits/stdio_lim.h and use #if on that in stdio.h.
That saves adding a file, but is a bit more crufty.
I agree.
I would like to put one of these two changes in (to 2.2 as well) if others
agree.
Feel free to do it. It's an error.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------