Skip to content

Use __asm__ instead of asm since asm isn't always defined#98

Merged
WinterMute merged 1 commit intodevkitPro:masterfrom
endrift:asm-volatile
Aug 3, 2020
Merged

Use __asm__ instead of asm since asm isn't always defined#98
WinterMute merged 1 commit intodevkitPro:masterfrom
endrift:asm-volatile

Conversation

@endrift
Copy link
Copy Markdown
Contributor

@endrift endrift commented Aug 3, 2020

Not sure why I'm only hitting this now, but there are some combinations of flags (I think -std=c99 is enough, but I'm not 100% sure) whereby asm/asm volatile isn't defined and you need __asm__/__asm__ __volatile__. When it is defined, this patch is a no-op. When it's not, this fixes the build.

@WinterMute WinterMute merged commit 1f75f7a into devkitPro:master Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants