Skip to content

Commit

Permalink
exclude unistd.h for windows only
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipul-Cariappa committed Jan 6, 2024
1 parent 7c755f3 commit fd98b97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lexer.l
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
#include <string.h>
#include <ctype.h>

#ifdef _WIN32
#define YY_NO_UNISTD_H 1
#endif

static int next_column = 1;
int column = 1;
Expand Down

0 comments on commit fd98b97

Please sign in to comment.