From 10c047d0c0afd82f49695c598732df5ad12c0d08 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 14 Nov 2015 21:11:41 +0100 Subject: Fixing typo in macros --- src/gos/gos_x_threads.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gos') diff --git a/src/gos/gos_x_threads.c b/src/gos/gos_x_threads.c index bdb61ab9..76637322 100644 --- a/src/gos/gos_x_threads.c +++ b/src/gos/gos_x_threads.c @@ -203,12 +203,12 @@ static thread mainthread; // The main thread context * If they don't exist compile them to be the standard setjmp() function. * Similarly for longjmp(). */ - #if (!defined(setjmp) && !defined(_setjmp)) || GFX_COMPILER == GFX_COMILER_KEIL + #if (!defined(setjmp) && !defined(_setjmp)) || GFX_COMPILER == GFX_COMPILER_KEIL #define CXT_SAVE setjmp #else #define CXT_SAVE _setjmp #endif - #if (!defined(longjmp) && !defined(_longjmp)) || GFX_COMPILER == GFX_COMILER_KEIL + #if (!defined(longjmp) && !defined(_longjmp)) || GFX_COMPILER == GFX_COMPILER_KEIL #define CXT_RESTORE longjmp #else #define CXT_RESTORE _longjmp -- cgit v1.2.3