From f2d75f76e5629d93bddfc16abc5ce6aead814641 Mon Sep 17 00:00:00 2001 From: baldurk Date: Sat, 14 May 2016 14:57:41 +0200 Subject: [PATCH] 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. --- glslang/OSDependent/Unix/ossource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glslang/OSDependent/Unix/ossource.cpp b/glslang/OSDependent/Unix/ossource.cpp index 3bd725ea..123e0869 100644 --- a/glslang/OSDependent/Unix/ossource.cpp +++ b/glslang/OSDependent/Unix/ossource.cpp @@ -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;