From 0d0953aa852f9a4ed9842dbdf3afbe2effb6cbe3 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 12 Oct 2024 09:30:30 +1000 Subject: [PATCH] Fix build for 3DS. Public issue https://github.com/mackron/miniaudio/issues/902 --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index 572cedbc..46fe766c 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -16149,7 +16149,7 @@ static ma_result ma_thread_create__posix(ma_thread* pThread, ma_thread_priority int result; pthread_attr_t* pAttr = NULL; -#if !defined(__EMSCRIPTEN__) +#if !defined(__EMSCRIPTEN__) && !defined(__3DS__) /* Try setting the thread priority. It's not critical if anything fails here. */ pthread_attr_t attr; if (pthread_attr_init(&attr) == 0) {