ci: Patched to compile on Android.

This commit is contained in:
Ryan C. Gordon
2025-07-23 23:53:46 -04:00
parent f5a0222a8e
commit 39e9ac6d1f
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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