foxygit / doom Log in
commit dc8c45c667bc327e5e84e1d98d3f8b468d7a1553
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Jun 6 21:13:44 2009 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sat Jun 6 21:13:44 2009 +0000

    Don't check for Steam/CD installer versions on Windows CE.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1552
---
 src/d_iwad.c | 4 ++--
 1 file 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.