From cbe8e0b0fc39ac47c295d09faa105418849739d3 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 11 Jul 2020 10:39:17 +1000 Subject: [PATCH] Fix compilation error on Emscripten. --- miniaudio.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index dc82fac2..dc4dbe8c 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -6110,7 +6110,6 @@ static void ma_sleep(ma_uint32 milliseconds) } #endif -#if !defined(MA_EMSCRIPTEN) static MA_INLINE void ma_yield() { #if defined(__i386) || defined(_M_IX86) || defined(__x86_64__) || defined(_M_X64) @@ -6136,7 +6135,6 @@ static MA_INLINE void ma_yield() /* Unknown or unsupported architecture. No-op. */ #endif } -#endif @@ -61933,6 +61931,7 @@ REVISION HISTORY ================ v0.10.13 - TBD - Fix some potential buffer overflow errors with channel maps when channel counts are greater than MA_MAX_CHANNELS. + - Fix compilation error on Emscripten. v0.10.12 - 2020-07-04 - Fix compilation errors on the iOS build.