1
0
forked from mirrors/0ad

Windows fixes

This was SVN commit r8513.
This commit is contained in:
Ykkrosh
2010-10-31 22:26:41 +00:00
parent 602b99c397
commit aefc87f226
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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()