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 - enable HAVE_GCC_ATOMICS for android platform
Summary: enable HAVE_GCC_ATOMICS for android platform
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: atomic (show other bugs)
Version: 2.0.0
Hardware: Other Android (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-14 05:51 UTC by Ivan
Modified: 2013-07-06 15:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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