From eddc31d42bce24b97e18e8ed765888af7ddbb44f Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Wed, 10 Oct 2018 21:30:02 +0300 Subject: Windows build for the flex demo files --- demo/flex/lex.yy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'demo/flex/lex.yy.c') diff --git a/demo/flex/lex.yy.c b/demo/flex/lex.yy.c index fd2982d..7abfcd2 100644 --- a/demo/flex/lex.yy.c +++ b/demo/flex/lex.yy.c @@ -531,6 +531,8 @@ char *yytext; #line 4 "JavaScript.flex" /* need this for the call to atof() below */ #include +#define YY_NO_UNISTD_H +//int isatty(int) { return 0; } #line 535 "lex.yy.c" #define INITIAL 0 -- cgit v1.3.1-26-gb76a