From 0da273fc8c843a6248e11f006d51a4817e3d8e37 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Wed, 28 Sep 2016 17:09:47 +0200 Subject: DIRECTOR: Fix compilation on Dreamcast --- engines/director/lingo/lingo-lex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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 -- cgit v1.2.3