From 6a895501cff928ffd839e59584fa84968c56be3a Mon Sep 17 00:00:00 2001 From: Kjetil Berg Date: Tue, 18 Nov 2025 18:38:19 +0100 Subject: [PATCH] Fix: exclude Emscripten from ALSA support check on Linux --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index 92305961..78e58d82 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -6613,7 +6613,7 @@ This section contains the APIs for device playback and capture. Here is where yo #endif #if defined(MA_UNIX) && !defined(MA_ORBIS) && !defined(MA_PROSPERO) #if defined(MA_LINUX) - #if !defined(MA_ANDROID) && !defined(__COSMOPOLITAN__) /* ALSA is not supported on Android. */ + #if !defined(MA_ANDROID) && !defined(__COSMOPOLITAN__) && !defined(MA_EMSCRIPTEN) /* ALSA is not supported on Android. */ #define MA_SUPPORT_ALSA #endif #endif