summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/libtremor/os.h2
-rw-r--r--firmware/thread.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libtremor/os.h b/apps/codecs/libtremor/os.h
index bb4b867e3d..bafcaedb62 100644
--- a/apps/codecs/libtremor/os.h
+++ b/apps/codecs/libtremor/os.h
@@ -25,7 +25,7 @@
25 25
26# ifdef __GNUC__ 26# ifdef __GNUC__
27# define STIN static inline 27# define STIN static inline
28# elif _WIN32 28# elif defined(_WIN32)
29# define STIN static __inline__ 29# define STIN static __inline__
30# endif 30# endif
31#else 31#else
diff --git a/firmware/thread.c b/firmware/thread.c
index a63641e12b..ceda09871e 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -927,7 +927,7 @@ static inline void core_sleep(void)
927 : : "z"(&SBYCR-GBR) : "r1"); 927 : : "z"(&SBYCR-GBR) : "r1");
928} 928}
929 929
930#elif CPU_MIPS == 32 930#elif defined(CPU_MIPS) && CPU_MIPS == 32
931 931
932/*--------------------------------------------------------------------------- 932/*---------------------------------------------------------------------------
933 * Start the thread running and terminate it if it returns 933 * Start the thread running and terminate it if it returns