[Scummvm-git-logs] scummvm master -> 0da273fc8c843a6248e11f006d51a4817e3d8e37

zeldin marcus at mc.pp.se
Wed Sep 28 17:10:15 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0da273fc8c DIRECTOR: Fix compilation on Dreamcast


Commit: 0da273fc8c843a6248e11f006d51a4817e3d8e37
    https://github.com/scummvm/scummvm/commit/0da273fc8c843a6248e11f006d51a4817e3d8e37
Author: Marcus Comstedt (marcus at mc.pp.se)
Date: 2016-09-28T17:09:47+02:00

Commit Message:
DIRECTOR: Fix compilation on Dreamcast

Changed paths:
    engines/director/lingo/lingo-lex.cpp



diff --git a/engines/director/lingo/lingo-lex.cpp b/engines/director/lingo/lingo-lex.cpp
index ebdb169..d268be4 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
 





More information about the Scummvm-git-logs mailing list