From 54e829d290793f15d6b780b089374825dd83b8c8 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 6 Jun 2015 20:47:47 +0100 Subject: [PATCH] setjmp.h: unbreak m6809 --- Library/include/setjmp.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.34.1