summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2008-10-31 17:27:43 +0000
committerSimon Howard2008-10-31 17:27:43 +0000
commit280ae3a4c0b849f98291495b8b5a8f2a775b9b7d (patch)
tree0d07d02221047f55d8b65e3daaae54e53e8e4d44 /src
parent56e56f797f2bd129c70ff1119d67eb069dcf8246 (diff)
downloadchocolate-doom-280ae3a4c0b849f98291495b8b5a8f2a775b9b7d.tar.gz
chocolate-doom-280ae3a4c0b849f98291495b8b5a8f2a775b9b7d.tar.bz2
chocolate-doom-280ae3a4c0b849f98291495b8b5a8f2a775b9b7d.zip
Don't set processor affinity on OSX, as it does not support
sched_setaffinity. Subversion-branch: /branches/raven-branch Subversion-revision: 1372
Diffstat (limited to 'src')
-rw-r--r--src/i_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_main.c b/src/i_main.c
index 4efd2cd9..bab514dd 100644
--- a/src/i_main.c
+++ b/src/i_main.c
@@ -66,7 +66,7 @@ int main(int argc, char **argv)
fprintf(stderr, "Failed to set process affinity mask (%d)\n",
(int) GetLastError());
}
-#else
+#elif !defined(__APPLE__)
// POSIX version:
{