forked from mirrors/0ad
Windows fixes
This was SVN commit r8513.
This commit is contained in:
@@ -23,7 +23,7 @@ static pthread_t g_MainThread;
|
||||
|
||||
bool ThreadUtil::IsMainThread()
|
||||
{
|
||||
return pthread_equal(pthread_self(), g_MainThread);
|
||||
return pthread_equal(pthread_self(), g_MainThread) ? true : false;
|
||||
}
|
||||
|
||||
void ThreadUtil::SetMainThread()
|
||||
|
||||
Reference in New Issue
Block a user