glsl: Define YY_NO_UNISTD_H on MSVC.

This commit is contained in:
José Fonseca
2011-03-04 12:49:55 +00:00
parent d40b868db5
commit f52660c3dc
2 changed files with 8 additions and 0 deletions

View File

@@ -34,6 +34,10 @@
int glcpp_get_column (yyscan_t yyscanner);
void glcpp_set_column (int column_no , yyscan_t yyscanner);
#ifdef _MSC_VER
#define YY_NO_UNISTD_H
#endif
#define YY_NO_INPUT
#define YY_USER_ACTION \