summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.