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
+1 -1
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) {