summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2009-06-06 21:13:44 +0000
committerSimon Howard2009-06-06 21:13:44 +0000
commitdc8c45c667bc327e5e84e1d98d3f8b468d7a1553 (patch)
tree69c21e1d3f48913f0471f0686c1cff019b28f138 /src
parente3e71290f86c785a29ec6b9eeb609c7625776255 (diff)
downloadchocolate-doom-dc8c45c667bc327e5e84e1d98d3f8b468d7a1553.tar.gz
chocolate-doom-dc8c45c667bc327e5e84e1d98d3f8b468d7a1553.tar.bz2
chocolate-doom-dc8c45c667bc327e5e84e1d98d3f8b468d7a1553.zip
Don't check for Steam/CD installer versions on Windows CE.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1552
Diffstat (limited to 'src')
-rw-r--r--src/d_iwad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d_iwad.c b/src/d_iwad.c
index 4fcaafcb..8794e9be 100644
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -63,7 +63,7 @@ static void AddIWADDir(char *dir)
// keys installed by the Windows installers for various CD versions
// of Doom. From these keys we can deduce where to find an IWAD.
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(_WIN32_WCE)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -487,7 +487,7 @@ static void BuildIWADDirList(void)
AddDoomWadPath();
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(_WIN32_WCE)
// Search the registry and find where IWADs have been installed.