From: Eli Zaretskii Date: Thu, 20 Oct 2005 13:13:42 +0000 (+0000) Subject: Undef STDIN if defined. (LynxOS defines it in system header files.) X-Git-Tag: emacs-pretest-22.0.90~6489 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ce0ae3a9483b067d644ce870809a10e4d935e1f8;p=emacs.git Undef STDIN if defined. (LynxOS defines it in system header files.) --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index c2e6ef390ee..cd441bef787 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 c8102ec1548..de0a2cf950b 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 */