From: divverent Date: Wed, 6 May 2009 07:46:54 +0000 (+0000) Subject: disable threads if MAC_STATIC_HACK is set X-Git-Tag: svn-r421~59 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4218236572e9c47d6896e1d32334a7ece96d1aa7;p=xonotic%2Fnetradiant.git disable threads if MAC_STATIC_HACK is set git-svn-id: svn://svn.icculus.org/netradiant/trunk@361 61c419a2-8eb2-4b30-bcec-8cead039b335 --- 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();