浏览代码

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

Brad King 20 年之前
父节点
当前提交
7cd0192909
共有 2 个文件被更改,包括 2 次插入0 次删除
  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.  */