ERR: We must define YY_NO_UNISTD_H to build on windows.

This commit is contained in:
Brad King 2003-12-08 13:40:26 -05:00
parent 00ae7ea261
commit 6df489c471
2 changed files with 2 additions and 0 deletions

View File

@ -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. */

View File

@ -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. */