Fix: exclude Emscripten from ALSA support check on Linux

This commit is contained in:
Kjetil Berg
2025-11-18 18:38:19 +01:00
committed by David Reid
parent 787318fd8f
commit 6a895501cf
+1 -1
View File
@@ -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