DIRECTOR: Lingo: Properly fix compilation on Dreamcast

It should originally go to lingo-lex.l, as lingo-lex.cpp is
autogenerated. The fix was initially in 0da273fc8c843a6248e11f
This commit is contained in:
Eugene Sandulenko 2017-01-06 19:32:31 +01:00
parent 1ba7f8aa1e
commit 319a993592
2 changed files with 4 additions and 4 deletions

View File

@ -687,12 +687,12 @@ static void count() {
g_lingo->_colnumber += strlen(yytext);
}
#if defined(__PLAYSTATION2__) || defined(_MSC_VER)
#if defined(__PLAYSTATION2__) || defined(_MSC_VER) || defined(__DC__)
// Stub for missing function
int isatty(int fileno) { return 0; }
#endif
#ifdef _MSC_VER
#if defined(_MSC_VER) || defined(__DC__)
#define YY_NO_UNISTD_H
#endif

View File

@ -37,12 +37,12 @@ static void count() {
g_lingo->_colnumber += strlen(yytext);
}
#if defined(__PLAYSTATION2__) || defined(_MSC_VER)
#if defined(__PLAYSTATION2__) || defined(_MSC_VER) || defined(__DC__)
// Stub for missing function
int isatty(int fileno) { return 0; }
#endif
#ifdef _MSC_VER
#if defined(_MSC_VER) || defined(__DC__)
#define YY_NO_UNISTD_H
#endif