Skip to content

Commit 39e9ac6

Browse files
committed
ci: Patched to compile on Android.
1 parent f5a0222 commit 39e9ac6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/audio/aaudio/SDL_aaudio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static bool AAUDIO_LoadFunctions(AAUDIO_Data *data)
6666
#define SDL_PROC(ret, func, params) \
6767
do { \
6868
data->func = (ret (*) params)SDL_LoadFunction(data->handle, #func); \
69-
if (!data->func) { \
69+
if (!data->func) { \
7070
return SDL_SetError("Couldn't load AAUDIO function %s: %s", #func, SDL_GetError()); \
7171
} \
7272
} while (0);

src/audio/aaudio/SDL_aaudiofuncs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
3. This notice may not be removed or altered from any source distribution.
2020
*/
2121

22-
#ifndef SDL_PROC_OPTIONAL(ret, func, params)
22+
#ifndef SDL_PROC_OPTIONAL
2323
#define SDL_PROC_OPTIONAL(ret, func, params) SDL_PROC(ret, func, params)
2424
#endif
2525

0 commit comments

Comments
 (0)