summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmDependsJavaLexer.cxx1
-rw-r--r--Source/cmDependsJavaLexer.in.l1
2 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmDependsJavaLexer.cxx b/Source/cmDependsJavaLexer.cxx
index 5951418..c37c2ff 100644
--- a/Source/cmDependsJavaLexer.cxx
+++ b/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. */
diff --git a/Source/cmDependsJavaLexer.in.l b/Source/cmDependsJavaLexer.in.l
index 7afc323..74671d1 100644
--- a/Source/cmDependsJavaLexer.in.l
+++ b/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. */