diff options
author | Eugene Sandulenko | 2017-01-06 19:32:31 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-06 19:34:56 +0100 |
commit | 319a993592a74b649e738500054558beec9662af (patch) | |
tree | 16bf9056df8efd519d0a1758ee9094116cfd2de7 | |
parent | 1ba7f8aa1e4d535c616aff9d789c172952e33f5e (diff) | |
download | scummvm-rg350-319a993592a74b649e738500054558beec9662af.tar.gz scummvm-rg350-319a993592a74b649e738500054558beec9662af.tar.bz2 scummvm-rg350-319a993592a74b649e738500054558beec9662af.zip |
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
-rw-r--r-- | engines/director/lingo/lingo-lex.cpp | 4 | ||||
-rw-r--r-- | engines/director/lingo/lingo-lex.l | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/director/lingo/lingo-lex.cpp b/engines/director/lingo/lingo-lex.cpp index 2bc31335f3..009ae8fe57 100644 --- a/engines/director/lingo/lingo-lex.cpp +++ b/engines/director/lingo/lingo-lex.cpp @@ -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 diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l index 39aef99d61..e7d3a84475 100644 --- a/engines/director/lingo/lingo-lex.l +++ b/engines/director/lingo/lingo-lex.l @@ -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 |