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
This commit is contained in:
Andrew Mahone 2009-11-20 02:51:10 +00:00
parent 45fc5bac24
commit 36deb0a315
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@
# ifdef __GNUC__ # ifdef __GNUC__
# define STIN static inline # define STIN static inline
# elif _WIN32 # elif defined(_WIN32)
# define STIN static __inline__ # define STIN static __inline__
# endif # endif
#else #else

View file

@ -927,7 +927,7 @@ static inline void core_sleep(void)
: : "z"(&SBYCR-GBR) : "r1"); : : "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 * Start the thread running and terminate it if it returns