Browse Source

COMP: Need #undef ECHO to avoid conflict with system ECHO definition.

Brad King 20 years ago
parent
commit
7cd0192909
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Source/cmDependsJavaLexer.cxx
  2. 1 0
      Source/cmDependsJavaLexer.in.l

+ 1 - 0
Source/cmDependsJavaLexer.cxx

@@ -690,6 +690,7 @@ Modify cmDependsJavaLexer.h:
 
 /* Disable features we do not need. */
 #define YY_NEVER_INTERACTIVE 1
+#undef ECHO /* SGI termios defines this differently. */
 #define ECHO
 
 /* Replace the lexer input function.  */

+ 1 - 0
Source/cmDependsJavaLexer.in.l

@@ -54,6 +54,7 @@ Modify cmDependsJavaLexer.h:
 
 /* Disable features we do not need. */
 #define YY_NEVER_INTERACTIVE 1
+#undef ECHO /* SGI termios defines this differently. */
 #define ECHO
 
 /* Replace the lexer input function.  */