diff options
author | Max Horn | 2009-11-20 00:12:28 +0000 |
---|---|---|
committer | Max Horn | 2009-11-20 00:12:28 +0000 |
commit | a50bb2ceb42cab37f3a7c7d9c43a30aa7b068b07 (patch) | |
tree | 126525a58ad9686496b7c3e6c088dfd06dd764ce | |
parent | f1036e47ad41d01f15abf5832cee6904b1aff46c (diff) | |
download | scummvm-rg350-a50bb2ceb42cab37f3a7c7d9c43a30aa7b068b07.tar.gz scummvm-rg350-a50bb2ceb42cab37f3a7c7d9c43a30aa7b068b07.tar.bz2 scummvm-rg350-a50bb2ceb42cab37f3a7c7d9c43a30aa7b068b07.zip |
Don't include windows.h & direct.h on WinCE (and Symbian?)
svn-id: r45996
-rw-r--r-- | engines/engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp index b6c8f10090..3c659a5d9e 100644 --- a/engines/engine.cpp +++ b/engines/engine.cpp @@ -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 GUIErrorMessage(const Common::String msg) { } 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. |