public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb4a383
)
pdp11: setjmp structure
author
Alan Cox
<alan@linux.intel.com>
Sun, 18 Feb 2018 14:03:35 +0000
(14:03 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 18 Feb 2018 14:03:35 +0000
(14:03 +0000)
Library/include/setjmp.h
patch
|
blob
|
history
diff --git
a/Library/include/setjmp.h
b/Library/include/setjmp.h
index
c3c2736
..
79e694f
100644
(file)
--- a/
Library/include/setjmp.h
+++ b/
Library/include/setjmp.h
@@
-35,6
+35,12
@@
extern int setjmp(jmp_buf __env);
__attribute__((__noreturn__)) void longjmp (jmp_buf env, int val);
+#elif defined(__pdp11__)
+
+ typedef uint16_t jmp_buf[5];
+ extern int setjmp(jmp_buf __env);
+ __attribute__((__noreturn__)) void longjmp (jmp_buf env, int val);
+
#else
#error jmp_buf definition not set for this architecture
#endif