setjmp.h: unbreak m6809
authorAlan Cox <alan@linux.intel.com>
Sat, 6 Jun 2015 19:47:47 +0000 (20:47 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 6 Jun 2015 19:47:47 +0000 (20:47 +0100)
Library/include/setjmp.h

index f2dd448..3c18b06 100644 (file)
        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