From 4218236572e9c47d6896e1d32334a7ece96d1aa7 Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 6 May 2009 07:46:54 +0000 Subject: [PATCH] disable threads if MAC_STATIC_HACK is set git-svn-id: svn://svn.icculus.org/netradiant/trunk@361 61c419a2-8eb2-4b30-bcec-8cead039b335 --- tools/quake3/q3map2/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/quake3/q3map2/main.c b/tools/quake3/q3map2/main.c index d7d77538..d0a916ef 100644 --- a/tools/quake3/q3map2/main.c +++ b/tools/quake3/q3map2/main.c @@ -1579,6 +1579,12 @@ int main( int argc, char **argv ) argv[ i ] = NULL; } } + +#if MAC_STATIC_HACK + if(numthreads > 1) + Sys_Printf("MAC_STATIC_HACK does not allow using threads\n"); + numthreads = 1; +#endif /* init model library */ PicoInit(); -- 2.39.2