Avoid unused variable warning when not using threads

See: #307
This commit is contained in:
Jonathan G Rennison
2021-10-29 20:10:39 +01:00
parent 0842621653
commit 86e1f58bc0

View File

@@ -337,8 +337,10 @@ int GetCurrentThreadName(char *str, const char *last)
return 0;
}
#if !defined(NO_THREADS)
static pthread_t main_thread;
static pthread_t game_thread;
#endif
void SetSelfAsMainThread()
{