From e9689e8df67090dbbca61c1b94ecbc5cc9bf06d9 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 8 Jan 2014 00:51:31 -0500 Subject: [PATCH] Another Android fix. --- src/dynapi/SDL_dynapi_procs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dynapi/SDL_dynapi_procs.h b/src/dynapi/SDL_dynapi_procs.h index ba6086138..cf34efc95 100644 --- a/src/dynapi/SDL_dynapi_procs.h +++ b/src/dynapi/SDL_dynapi_procs.h @@ -60,7 +60,8 @@ SDL_DYNAPI_PROC(SDL_RWops*,SDL_RWFromFP,(FILE *a, SDL_bool b),(a,b),return) SDL_DYNAPI_PROC(SDL_RWops*,SDL_RWFromFP,(void *a, SDL_bool b),(a,b),return) #endif -#ifdef __thumb__ /* so annoying. */ +/* so annoying. */ +#if defined(__thumb__) && (defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6T2__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__)) SDL_DYNAPI_PROC(void,SDL_MemoryBarrierRelease,(void),(),) SDL_DYNAPI_PROC(void,SDL_MemoryBarrierAcquire,(void),(),) #endif