public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7166fa9
)
setjmp.h: unbreak m6809
author
Alan Cox
<alan@linux.intel.com>
Sat, 6 Jun 2015 19:47:47 +0000
(20:47 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 6 Jun 2015 19:47:47 +0000
(20:47 +0100)
Library/include/setjmp.h
patch
|
blob
|
history
diff --git
a/Library/include/setjmp.h
b/Library/include/setjmp.h
index
f2dd448
..
3c18b06
100644
(file)
--- 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