Use DetachThreadLinux wrapper on android

* Fixes a warning - static function being defined but not used.
* Just in case any more code is added to DetachThreadLinux, this will go
  through the same path on both platforms.
This commit is contained in:
baldurk 2016-05-14 14:57:41 +02:00
parent 4678ca9dac
commit f2d75f76e5

View File

@ -69,7 +69,7 @@ static void DetachThreadLinux(void *)
void OS_CleanupThreadData(void)
{
#ifdef __ANDROID__
DetachThread();
DetachThreadLinux(NULL);
#else
int old_cancel_state, old_cancel_type;
void *cleanupArg = NULL;