changeset 66219:90109c37ac78

Undef STDIN if defined. (LynxOS defines it in system header files.)
author Eli Zaretskii <eliz@gnu.org>
date Thu, 20 Oct 2005 13:13:17 +0000
parents 44a12d0eb7c6
children 43f1d9009d0e
files lib-src/etags.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/etags.c	Thu Oct 20 13:07:29 2005 +0000
+++ b/lib-src/etags.c	Thu Oct 20 13:13:17 2005 +0000
@@ -477,6 +477,11 @@
 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 */