help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows port (unistd.h)


From: W. L. Estes
Subject: Re: Windows port (unistd.h)
Date: Tue, 22 Oct 2002 09:07:30 -0400
User-agent: Mutt/1.3.28i

On Tuesday, 22 October 2002,14:38 +0200, Vincent Caron wrote:

> since there's no such <unistd.h> on my hostile planet :), I have to use 
> the YY_NO_UNISTD_H feature. However I'm not sure where this macro should 
> be defined in my case. My current solution is to add this blurb to the 
> first section of scan.l :
> 
> #ifdef _WIN32
> #define YY_NO_UNISTD_H
> #endif
> 
> Not satisfying IMHO since users will have to copy this in every .l file 
> to get a working scanner under Windows. What should I do ?

Are you asking about how to build flex itself?

--Will




reply via email to

[Prev in Thread] Current Thread [Next in Thread]