This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: argh!
- To: Zack Weinberg <zack@rabi.columbia.edu>
- Subject: Re: argh!
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 19 Oct 1998 18:27:21 -0700
- Cc: libc-hacker@cygnus.com
- References: <199810200102.VAA27474@blastula.phys.columbia.edu>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Zack Weinberg <zack@rabi.columbia.edu> writes:
> I see. Your idea is good. The header doesn't have to be generated:
> just do e.g.
>
> #ifdef __linux__
> #if KERNEL_LOWEST_REV >= 1
> #define HAVE_O_DIRECTORY
> #define HAVE_TIOCGPTN
No, this is not possible. Assume someone who has the latest kernel
(including headers) installed and wants to compile a binary used by
many other people who might not have the same kernel.
The selection of the assumptions must be based on explicit user
decisions, not on implicit information gained from the system headers.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
- Follow-Ups:
- Re: argh!
- From: Zack Weinberg <zack@rabi.columbia.edu>
- References:
- Re: argh!
- From: Zack Weinberg <zack@rabi.columbia.edu>