]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - thread_win.c
Working on improving stairsmoothing so that it doesn't jitter
[xonotic/darkplaces.git] / thread_win.c
index 893e8306048ede60d060f24efbe3e5c9b8669a23..77fe939cd291de9f017daf5ccf3d4c615aea3b19 100644 (file)
@@ -4,6 +4,9 @@
 
 int Thread_Init(void)
 {
+#ifdef THREADDISABLE
+       Con_Printf("Threading disabled in this build\n");
+#endif
        return 0;
 }
 
@@ -13,7 +16,11 @@ void Thread_Shutdown(void)
 
 qboolean Thread_HasThreads(void)
 {
+#ifdef THREADDISABLE
+       return false;
+#else
        return true;
+#endif
 }
 
 void *_Thread_CreateMutex(const char *filename, int fileline)