From b5a507bbdc1e10c9760ff4adbfc4d590c5f22d27 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 22 Apr 2005 19:34:01 +0000 Subject: 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 --- firmware/export/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/export/system.h b/firmware/export/system.h index 876daa6..1876bc3 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -60,7 +60,7 @@ void cpu_boost(bool on_off); asm volatile ("nop") /* 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" #else #define I_CONSTRAINT "I" -- cgit v1.1