Undef STDIN if defined. (LynxOS defines it in system header files.)
authorEli Zaretskii <eliz@gnu.org>
Thu, 20 Oct 2005 13:13:42 +0000 (13:13 +0000)
committerEli Zaretskii <eliz@gnu.org>
Thu, 20 Oct 2005 13:13:42 +0000 (13:13 +0000)
lib-src/ChangeLog
lib-src/etags.c

index c2e6ef3..cd441be 100644 (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\e,Al\e(B  <pot@gnu.org>
 
        * etags.c: Preliminary Forth support.
index c8102ec..de0a2cf 100644 (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 */