mesa: Include <unistd.h> only when one is available.
This commit is contained in:
@@ -912,6 +912,10 @@ static yyconst flex_int16_t yy_chk[1023] =
|
|||||||
#define require_rect (yyextra->option.TexRect)
|
#define require_rect (yyextra->option.TexRect)
|
||||||
#define require_texarray (yyextra->option.TexArray)
|
#define require_texarray (yyextra->option.TexArray)
|
||||||
|
|
||||||
|
#ifndef HAVE_UNISTD_H
|
||||||
|
#define YY_NO_UNISTD_H
|
||||||
|
#endif
|
||||||
|
|
||||||
#define return_token_or_IDENTIFIER(condition, token) \
|
#define return_token_or_IDENTIFIER(condition, token) \
|
||||||
do { \
|
do { \
|
||||||
if (condition) { \
|
if (condition) { \
|
||||||
|
@@ -34,6 +34,10 @@
|
|||||||
#define require_rect (yyextra->option.TexRect)
|
#define require_rect (yyextra->option.TexRect)
|
||||||
#define require_texarray (yyextra->option.TexArray)
|
#define require_texarray (yyextra->option.TexArray)
|
||||||
|
|
||||||
|
#ifndef HAVE_UNISTD_H
|
||||||
|
#define YY_NO_UNISTD_H
|
||||||
|
#endif
|
||||||
|
|
||||||
#define return_token_or_IDENTIFIER(condition, token) \
|
#define return_token_or_IDENTIFIER(condition, token) \
|
||||||
do { \
|
do { \
|
||||||
if (condition) { \
|
if (condition) { \
|
||||||
|
Reference in New Issue
Block a user