diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-11-20 02:51:10 +0000 |
|---|---|---|
| committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-11-20 02:51:10 +0000 |
| commit | 36deb0a315c10bc3930e7a9b7518da9e7fe620eb (patch) | |
| tree | e044d87da6348e5e3bf06507ed39f848e0d784e1 /firmware/thread.c | |
| parent | 45fc5bac2461ac31e4bc5a3a650dde4977e7c6f8 (diff) | |
| download | rockbox-36deb0a315c10bc3930e7a9b7518da9e7fe620eb.zip rockbox-36deb0a315c10bc3930e7a9b7518da9e7fe620eb.tar.gz rockbox-36deb0a315c10bc3930e7a9b7518da9e7fe620eb.tar.bz2 rockbox-36deb0a315c10bc3930e7a9b7518da9e7fe620eb.tar.xz | |
Fix warning on new gcc for checking value or truth of undefined _WIN32 and MIPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23670 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/thread.c')
| -rw-r--r-- | firmware/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/thread.c b/firmware/thread.c index a63641e..ceda098 100644 --- a/firmware/thread.c +++ b/firmware/thread.c @@ -927,7 +927,7 @@ static inline void core_sleep(void) : : "z"(&SBYCR-GBR) : "r1"); } -#elif CPU_MIPS == 32 +#elif defined(CPU_MIPS) && CPU_MIPS == 32 /*--------------------------------------------------------------------------- * Start the thread running and terminate it if it returns |