mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
ci: Patched to compile on Android.
This commit is contained in:
parent
f5a0222a8e
commit
39e9ac6d1f
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue