From: Alan Cox Date: Sat, 6 Jun 2015 19:47:47 +0000 (+0100) Subject: setjmp.h: unbreak m6809 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=54e829d290793f15d6b780b089374825dd83b8c8;p=FUZIX.git setjmp.h: unbreak m6809 --- diff --git a/Library/include/setjmp.h b/Library/include/setjmp.h index f2dd448a..3c18b06a 100644 --- a/Library/include/setjmp.h +++ b/Library/include/setjmp.h @@ -23,6 +23,11 @@ extern int setjmp(jmp_buf env); __attribute__((__noreturn__)) void longjmp (jmp_buf env, int val); +#elif defined(__m6809__) + + typedef uint16_t jmp_buf[4]; + __attribute__((__noreturn__)) void longjmp (jmp_buf env, int val); + #else #error jmp_buf definition not set for this architecture #endif