We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1911

Summary: enable HAVE_GCC_ATOMICS for android platform
Product: SDL Reporter: Ivan <lyapunov>
Component: atomicAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: gabomdq
Version: 2.0.0   
Hardware: Other   
OS: Android (All)   

Description Ivan 2013-06-14 05:51:36 UTC
in include/SDL_config_android.h

required by NDK docs/ANDROID-ATOMICS.html
also will fix mips build

regards
Comment 1 Gabriel Jacobo 2013-07-06 15:10:38 UTC
I'm not sure why this is required, according to that document, using NDK r7b or later to compile your app solves the problem. Can you clarify?
Comment 2 Sam Lantinga 2013-07-06 15:40:44 UTC
He's just saying that gcc supports atomics on Android and we should use them.

Fixed, thanks!
http://hg.libsdl.org/SDL/rev/fdf6c14b447c