From fd98b97ac319d0cefa42a35858938e84e13ab878 Mon Sep 17 00:00:00 2001 From: Vipul-Cariappa Date: Sat, 6 Jan 2024 18:01:21 +0530 Subject: [PATCH] exclude unistd.h for windows only --- src/lexer.l | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lexer.l b/src/lexer.l index 7cf371a..6fa6748 100644 --- a/src/lexer.l +++ b/src/lexer.l @@ -3,7 +3,9 @@ #include #include + #ifdef _WIN32 #define YY_NO_UNISTD_H 1 + #endif static int next_column = 1; int column = 1;