[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev LYCurses.h/termio.h again
From: |
Philippe De Muyter |
Subject: |
lynx-dev LYCurses.h/termio.h again |
Date: |
Mon, 5 Oct 1998 17:27:30 +0200 (CEST) |
>From CHANGES :
1998-10-04 (2.8.1pre.7)
* add special-case CF_TERMIOS_AND_CURSES configure macro (fixes problem reported
by Philippe De Muyter) - TD
Thanks, but unfortunately, it still fails with :
gcc -DHAVE_CONFIG_H -I. -I.. -Ichrtrans -I/share/gnu/src/lynx2-8-1/src/chrtrans
-I/share/gnu/src/lynx2-8-1 -I/share/gnu/src/lynx2-8-1/src -I/share/gnu/src/lynx
2-8-1/WWW/Library/Implementation -O2 -c /share/gnu/src/lynx2-8-1/src/LYUtils.c
In file included from /usr/include/termio.h:3,
from /share/gnu/src/lynx2-8-1/src/LYUtils.c:2837:
/usr/include/sys/termio.h:135: redefinition of `struct termio'
/usr/include/sys/termio.h:188: redefinition of `struct termcb'
gnumake[1]: *** [LYUtils.o] Error 1
gnumake[1]: Leaving directory `/backup/tmp/lynx281pre8/src'
gnumake: *** [all] Error 2
+2825 /* For systems that have both, but both can't be included, duh (or neith
er) */
+2826 /* FIXME: this whole chunk may be redundant */
+2827 #ifdef TERMIO_AND_CURSES
+2828 # include <termio.h>
+2829 #else
+2830 # ifdef TERMIO_AND_TERMIOS
+2831 # include <termio.h>
+2832 # else
+2833 # ifdef HAVE_TERMIOS_H
+2834 # include <termios.h>
+2835 # else
+2836 # ifdef HAVE_TERMIO_H
+2837 # include <termio.h> <==== here
+2838 # endif /* HAVE_TERMIO_H */
+2839 # endif /* HAVE_TERMIOS_H */
+2840 # endif /* TERMIO_AND_TERMIOS */
+2841 #endif /* USE_TERMIO_H */