shithub: choc

Download patch

ref: 7f9b5d41173c7db6465a5f7666fe7913106a8c1c
parent: 203e7e79a1a20b83fea8a91b46c8241c056a23b1
author: Simon Howard <[email protected]>
date: Sat Jun 6 21:32:15 EDT 2009

Add CPU affinity function for Windows CE.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1558

--- a/src/i_main.c
+++ b/src/i_main.c
@@ -34,7 +34,15 @@
 #include "m_argv.h"
 #include "d_main.h"
 
-#if defined(_WIN32)
+#if defined(_WIN32_WCE)
+
+// Windows CE?  I doubt it even supports SMP..
+
+static void LockCPUAffinity(void)
+{
+}
+
+#elif defined(_WIN32)
 
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>