mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Fix: exclude Emscripten from ALSA support check on Linux
This commit is contained in:
+1
-1
@@ -6613,7 +6613,7 @@ This section contains the APIs for device playback and capture. Here is where yo
|
|||||||
#endif
|
#endif
|
||||||
#if defined(MA_UNIX) && !defined(MA_ORBIS) && !defined(MA_PROSPERO)
|
#if defined(MA_UNIX) && !defined(MA_ORBIS) && !defined(MA_PROSPERO)
|
||||||
#if defined(MA_LINUX)
|
#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
|
#define MA_SUPPORT_ALSA
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user