diff options
author | Brad King <brad.king@kitware.com> | 2003-12-08 18:40:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-12-08 18:40:26 (GMT) |
commit | 6df489c471eca80100bf720b4b5cde2cbd3b12d6 (patch) | |
tree | 215ea4e3310500ede17bf556a29d4971ed5aea33 /Source | |
parent | 00ae7ea261b634196ff5f77b995cbef0305ea31c (diff) | |
download | CMake-6df489c471eca80100bf720b4b5cde2cbd3b12d6.zip CMake-6df489c471eca80100bf720b4b5cde2cbd3b12d6.tar.gz CMake-6df489c471eca80100bf720b4b5cde2cbd3b12d6.tar.bz2 |
ERR: We must define YY_NO_UNISTD_H to build on windows.
Diffstat (limited to 'Source')
-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. */ |