shithub: choc

Download patch

ref: 280ae3a4c0b849f98291495b8b5a8f2a775b9b7d
parent: 56e56f797f2bd129c70ff1119d67eb069dcf8246
author: Simon Howard <[email protected]>
date: Fri Oct 31 13:27:43 EDT 2008

Don't set processor affinity on OSX, as it does not support
sched_setaffinity.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1372

--- a/src/i_main.c
+++ b/src/i_main.c
@@ -66,7 +66,7 @@
         fprintf(stderr, "Failed to set process affinity mask (%d)\n",
                 (int) GetLastError());
     }
-#else
+#elif !defined(__APPLE__)
     // POSIX version:
 
     {