ERR: We must define YY_NO_UNISTD_H to build on windows.
This commit is contained in:
parent
00ae7ea261
commit
6df489c471
|
@ -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. */
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue