diff options
author | José Fonseca <[email protected]> | 2011-03-04 12:49:55 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-03-04 12:49:55 +0000 |
commit | f52660c3dc85632b4dce76d16bf6d78266c35173 (patch) | |
tree | e4c64d6d6f58f29227879af26e212a77673f2dfa /src/glsl/glsl_lexer.ll | |
parent | d40b868db5b82529cbe07598b2ebef23cc31a7fa (diff) |
glsl: Define YY_NO_UNISTD_H on MSVC.
Diffstat (limited to 'src/glsl/glsl_lexer.ll')
-rw-r--r-- | src/glsl/glsl_lexer.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/glsl_lexer.ll b/src/glsl/glsl_lexer.ll index e4c469f9e0a..cfd89261757 100644 --- a/src/glsl/glsl_lexer.ll +++ b/src/glsl/glsl_lexer.ll @@ -29,6 +29,10 @@ static int classify_identifier(struct _mesa_glsl_parse_state *, const char *); +#ifdef _MSC_VER +#define YY_NO_UNISTD_H +#endif + #define YY_USER_ACTION \ do { \ yylloc->source = 0; \ |