Undef STDIN if defined. (LynxOS defines it in system header files.)

This commit is contained in:
Eli Zaretskii 2005-10-20 13:13:42 +00:00
parent 26e9d2cf1a
commit ce0ae3a948
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-10-06 Olli Savia <ops@iki.fi> (tiny change)
* etags.c: Undef STDIN if defined. (LynxOS defines it in system
header files.)
2005-09-27 Francesco Potort,Al(B <pot@gnu.org>
* etags.c: Preliminary Forth support.

View file

@ -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 */