mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
Fix clang compile
This commit is contained in:
@@ -336,8 +336,11 @@ void CTextConsoleUnix::ShutDown()
|
||||
pthread_t tid = g_threadid;
|
||||
|
||||
g_threadid = (pthread_t)-1;
|
||||
|
||||
#if defined ( ANDROID )
|
||||
pthread_kill( tid, SIGUSR1 );
|
||||
#else
|
||||
pthread_cancel( tid );
|
||||
#endif
|
||||
pthread_join( tid, &status );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user