From 55564ede757cedf432e2936c4d6a267c6c0cb480 Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 18 Jul 2025 10:11:57 +1000 Subject: [PATCH] Fix Android build. --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index 3b768dbb..32cc5caf 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -6693,7 +6693,7 @@ BACKENDS #if defined(__NetBSD__) || defined(__OpenBSD__) #define MA_SUPPORT_AUDIO4 /* Only support audio(4) on platforms with known support. */ #endif - #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(MA_LINUX) + #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(MA_LINUX) && !defined(MA_ANDROID) #define MA_SUPPORT_OSS /* Only support OSS on specific platforms with known support. */ #endif #endif