diff options
-rw-r--r-- | Source/cmListFileLexer.c | 1 | ||||
-rw-r--r-- | Source/cmListFileLexer.l | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmListFileLexer.c b/Source/cmListFileLexer.c index 8c7e066..9c4f4df 100644 --- a/Source/cmListFileLexer.c +++ b/Source/cmListFileLexer.c @@ -484,6 +484,7 @@ static yyconst flex_int32_t yy_rule_can_match_eol[15] = /* Disable features we do not need. */ #define YY_NEVER_INTERACTIVE 1 #define YY_NO_UNPUT 1 +#define YY_NO_UNISTD_H 1 #define ECHO /* Setup the proper yylex declaration. */ diff --git a/Source/cmListFileLexer.l b/Source/cmListFileLexer.l index 9f272e0..7878344 100644 --- a/Source/cmListFileLexer.l +++ b/Source/cmListFileLexer.l @@ -34,6 +34,7 @@ Modify cmListFileLexer.c: /* Disable features we do not need. */ #define YY_NEVER_INTERACTIVE 1 #define YY_NO_UNPUT 1 +#define YY_NO_UNISTD_H 1 #define ECHO /* Setup the proper yylex declaration. */ |