[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch] stdio-impl.h has too indiscriminate #ifdef
From: |
Bruno Haible |
Subject: |
Re: [Patch] stdio-impl.h has too indiscriminate #ifdef |
Date: |
Sun, 4 Apr 2010 21:57:05 +0100 |
User-agent: |
KMail/1.9.9 |
Hi,
Hauke Fath wrote:
> -# if defined __NetBSD__ || defined __OpenBSD__ /* NetBSD, OpenBSD */
> +# if (defined __NetBSD__ && __NetBSD__ >= 105270000) || defined __OpenBSD__
> /* NetBSD, OpenBSD */
The introduction of the '_ext' field happened in NetBSD on 2001-12-07,
according to <http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdio/ungetc.c>.
The tags indicate that it is present starting with NetBSD 1.6. What's
the condition for testing for NetBSD >= 1.6? Where does your magic number
105270000 come from?
Bruno