Re: Incompatibility between ncurses and libc6?
On Sat, 31 Oct 1998 22:34:28 +0100, Martin Schulze <joey@finlandia.Infodrom.North.DE> said:
> Brandon Mitchell wrote:
>>> 75 #if HAVE_TERMIOS_H && HAVE_TCGETATTR
> #if is correct, however if you use if you also have to use "defined()"
That isn't so. The preprocessor treats undefined tokens as 0 in
$ cat t.c
#define YES 1
#if UNDEF && YES
#if UNDEF || YES
$ gcc -E t.c
# 1 "t.c"