]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
disable threads if MAC_STATIC_HACK is set
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 6 May 2009 07:46:54 +0000 (07:46 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 6 May 2009 07:46:54 +0000 (07:46 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@361 61c419a2-8eb2-4b30-bcec-8cead039b335

tools/quake3/q3map2/main.c

index d7d77538ac23329bf24478b658ad4a2479a57188..d0a916efa85f954ecef0af8c34ea9d4c805bd2ed 100644 (file)
@@ -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();