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 1264

Summary: __ARM_ARCH_5TEJ__ missing in SDL_spinlock.c
Product: SDL Reporter: Gueniffey <pierre-yves>
Component: atomicAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2 CC: icculus
Version: HG 2.0   
Hardware: ARM   
OS: Linux   
Attachments: SDL_spinlock.c

Description Gueniffey 2011-08-04 01:13:01 UTC
Trying to compile the SDL for ARM9 with CFLAGS=-mcpu=arm926ej-s, I've figured out that a check is missing in SDL_spinlock.c. Looking for other open source projects, it's obvious that we need to check for __ARM_ARCH_5TEJ__.
Don't ask more, I have no knowledge in ARM assembler code.
Comment 1 Gueniffey 2011-08-04 02:59:37 UTC
Created attachment 664 [details]
SDL_spinlock.c
Comment 2 Ryan C. Gordon 2011-10-16 00:28:16 UTC
This is now hg changeset 0e3fd8178e1d, thanks!

--ryan.