forked from len0rd/rockbox
Small fix for compilation under GCC4. Note: It still doesn't even fully compile for SH1, and coldfire builds are reported to crash, so ymmv.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6331 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9418e92eea
commit
b5a507bbdc
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ void cpu_boost(bool on_off);
|
||||||
asm volatile ("nop")
|
asm volatile ("nop")
|
||||||
|
|
||||||
/* gcc 3.4 changed the format of the constraints */
|
/* gcc 3.4 changed the format of the constraints */
|
||||||
#if (__GNUC__ >= 3) && (__GNUC_MINOR__ > 3)
|
#if (__GNUC__ >= 3) && (__GNUC_MINOR__ > 3) || (__GNUC__ >= 4)
|
||||||
#define I_CONSTRAINT "I08"
|
#define I_CONSTRAINT "I08"
|
||||||
#else
|
#else
|
||||||
#define I_CONSTRAINT "I"
|
#define I_CONSTRAINT "I"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue