mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
Fix clang compile
This commit is contained in:
@@ -2034,6 +2034,8 @@ void CThread::Yield()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
::Sleep(0);
|
||||
#elif defined(ANDROID)
|
||||
sched_yield();
|
||||
#elif defined(POSIX)
|
||||
pthread_yield();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user