[Scummvm-cvs-logs] SF.net SVN: scummvm:[45996] scummvm/trunk/engines/engine.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Nov 20 01:12:28 CET 2009


Revision: 45996
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45996&view=rev
Author:   fingolfin
Date:     2009-11-20 00:12:28 +0000 (Fri, 20 Nov 2009)

Log Message:
-----------
Don't include windows.h & direct.h on WinCE (and Symbian?)

Modified Paths:
--------------
    scummvm/trunk/engines/engine.cpp

Modified: scummvm/trunk/engines/engine.cpp
===================================================================
--- scummvm/trunk/engines/engine.cpp	2009-11-19 23:05:12 UTC (rev 45995)
+++ scummvm/trunk/engines/engine.cpp	2009-11-20 00:12:28 UTC (rev 45996)
@@ -22,7 +22,7 @@
  * $Id$
  */
 
-#if defined(WIN32)
+#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
 #include <windows.h>
 #include <direct.h>
 // winnt.h defines ARRAYSIZE, but we want our own one...
@@ -213,7 +213,7 @@
 }
 
 void Engine::checkCD() {
-#if defined (WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
+#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
 	// It is a known bug under Windows that games that play CD audio cause
 	// ScummVM to crash if the data files are read from the same CD. Check
 	// if this appears to be the case and issue a warning.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list