mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 21:55:10 -05:00
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:
parent
45fc5bac24
commit
36deb0a315
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue