Fixes for compiling glslang on Android.
Primarily fix is due to Android not supporting std::to_string().
This commit is contained in:
parent
f99b7dde08
commit
8b64fa5474
5 changed files with 21 additions and 1 deletions
|
|
@ -62,6 +62,9 @@ void DetachThreadLinux(void *)
|
|||
//
|
||||
void OS_CleanupThreadData(void)
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
DetachThread();
|
||||
#else
|
||||
int old_cancel_state, old_cancel_type;
|
||||
void *cleanupArg = NULL;
|
||||
|
||||
|
|
@ -85,6 +88,7 @@ void OS_CleanupThreadData(void)
|
|||
// Restore the thread's previous cancellation mode.
|
||||
//
|
||||
pthread_setcanceltype(old_cancel_state, NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue