From 7cd0192909a49cb8afb3460b069ddd1d8dc1364d Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 3 May 2005 14:28:02 -0400 Subject: [PATCH] COMP: Need #undef ECHO to avoid conflict with system ECHO definition. --- Source/cmDependsJavaLexer.cxx | 1 + Source/cmDependsJavaLexer.in.l | 1 + 2 files changed, 2 insertions(+) diff --git a/Source/cmDependsJavaLexer.cxx b/Source/cmDependsJavaLexer.cxx index 5951418b6..c37c2ff2f 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 7afc3233a..74671d1fe 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. */