Fixed miniaudio to build on switch
This commit is contained in:
parent
c9926fd361
commit
a4f1b717bd
|
|
@ -16176,7 +16176,7 @@ static ma_result ma_thread_create__posix(ma_thread* pThread, ma_thread_priority
|
|||
int result;
|
||||
pthread_attr_t* pAttr = NULL;
|
||||
|
||||
#if !defined(__EMSCRIPTEN__) && !defined(__3DS__)
|
||||
#if !defined(__EMSCRIPTEN__) && !defined(__3DS__) && !defined(__SWITCH__)
|
||||
/* Try setting the thread priority. It's not critical if anything fails here. */
|
||||
pthread_attr_t attr;
|
||||
if (pthread_attr_init(&attr) == 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue