mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 04:01:23 +00:00
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:
parent
1ba7f8aa1e
commit
319a993592
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user