From 39e9ac6d1fae985359fbb740cc0a15f806646879 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Wed, 23 Jul 2025 23:53:46 -0400
Subject: [PATCH] ci: Patched to compile on Android.
---
src/audio/aaudio/SDL_aaudio.c | 2 +-
src/audio/aaudio/SDL_aaudiofuncs.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/audio/aaudio/SDL_aaudio.c b/src/audio/aaudio/SDL_aaudio.c
index 5026e6a5a1d5c..b1be69182a052 100644
--- a/src/audio/aaudio/SDL_aaudio.c
+++ b/src/audio/aaudio/SDL_aaudio.c
@@ -66,7 +66,7 @@ static bool AAUDIO_LoadFunctions(AAUDIO_Data *data)
#define SDL_PROC(ret, func, params) \
do { \
data->func = (ret (*) params)SDL_LoadFunction(data->handle, #func); \
- if (!data->func) { \
+ if (!data->func) { \
return SDL_SetError("Couldn't load AAUDIO function %s: %s", #func, SDL_GetError()); \
} \
} while (0);
diff --git a/src/audio/aaudio/SDL_aaudiofuncs.h b/src/audio/aaudio/SDL_aaudiofuncs.h
index 2ddacf0ea0b93..af4f44bd9f5fe 100644
--- a/src/audio/aaudio/SDL_aaudiofuncs.h
+++ b/src/audio/aaudio/SDL_aaudiofuncs.h
@@ -19,7 +19,7 @@
3. This notice may not be removed or altered from any source distribution.
*/
-#ifndef SDL_PROC_OPTIONAL(ret, func, params)
+#ifndef SDL_PROC_OPTIONAL
#define SDL_PROC_OPTIONAL(ret, func, params) SDL_PROC(ret, func, params)
#endif