Fixed miniaudio to build on switch

This commit is contained in:
Lywx 2025-07-21 22:55:50 -06:00 committed by GitHub
parent c9926fd361
commit a4f1b717bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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) {