aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Comstedt2016-09-28 17:09:47 +0200
committerMarcus Comstedt2016-09-28 17:09:47 +0200
commit0da273fc8c843a6248e11f006d51a4817e3d8e37 (patch)
tree386cebb0a04027e97d453da99e08af5ce0a2f760
parentefebb327d91c76c033e46be45fd4e6592449f7fb (diff)
downloadscummvm-rg350-0da273fc8c843a6248e11f006d51a4817e3d8e37.tar.gz
scummvm-rg350-0da273fc8c843a6248e11f006d51a4817e3d8e37.tar.bz2
scummvm-rg350-0da273fc8c843a6248e11f006d51a4817e3d8e37.zip
DIRECTOR: Fix compilation on Dreamcast
-rw-r--r--engines/director/lingo/lingo-lex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-lex.cpp b/engines/director/lingo/lingo-lex.cpp
index ebdb169a65..d268be4aec 100644
--- a/engines/director/lingo/lingo-lex.cpp
+++ b/engines/director/lingo/lingo-lex.cpp
@@ -685,12 +685,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