From ce0ae3a9483b067d644ce870809a10e4d935e1f8 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 20 Oct 2005 13:13:42 +0000 Subject: [PATCH] Undef STDIN if defined. (LynxOS defines it in system header files.) --- lib-src/ChangeLog | 5 +++++ lib-src/etags.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index c2e6ef390e..cd441bef78 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,8 @@ +2005-10-06 Olli Savia (tiny change) + + * etags.c: Undef STDIN if defined. (LynxOS defines it in system + header files.) + 2005-09-27 Francesco Potort,Al(B * etags.c: Preliminary Forth support. diff --git a/lib-src/etags.c b/lib-src/etags.c index c8102ec154..de0a2cf950 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -477,6 +477,11 @@ static bool cplusplus; /* .[hc] means C++, not C */ static bool ignoreindent; /* -I: ignore indentation in C */ static bool packages_only; /* --packages-only: in Ada, only tag packages*/ +/* STDIN is defined in LynxOS system headers */ +#ifdef STDIN +#undef STDIN +#endif + #define STDIN 0x1001 /* returned by getopt_long on --parse-stdin */ static bool parsing_stdin; /* --parse-stdin used */ -- 2.39.2