summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileLexer.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-12-08 18:40:26 (GMT)
committerBrad King <brad.king@kitware.com>2003-12-08 18:40:26 (GMT)
commit6df489c471eca80100bf720b4b5cde2cbd3b12d6 (patch)
tree215ea4e3310500ede17bf556a29d4971ed5aea33 /Source/cmListFileLexer.c
parent00ae7ea261b634196ff5f77b995cbef0305ea31c (diff)
downloadCMake-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/cmListFileLexer.c')
-rw-r--r--Source/cmListFileLexer.c1
1 files changed, 1 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. */