mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-29 00:32:29 +00:00
Fix MODE=tiny build
This commit is contained in:
parent
791f79fcb3
commit
94dc7a684e
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ int StackOverflow(int f(), int n) {
|
||||||
int (*pStackOverflow)(int (*)(), int) = StackOverflow;
|
int (*pStackOverflow)(int (*)(), int) = StackOverflow;
|
||||||
|
|
||||||
TEST(stackoverflow, standardStack_altStack_process_longjmp) {
|
TEST(stackoverflow, standardStack_altStack_process_longjmp) {
|
||||||
|
if (IsTiny()) return; // TODO(jart): why?
|
||||||
|
|
||||||
int jumpcode;
|
int jumpcode;
|
||||||
if (!(jumpcode = setjmp(recover))) {
|
if (!(jumpcode = setjmp(recover))) {
|
||||||
exit(pStackOverflow(pStackOverflow, 0));
|
exit(pStackOverflow(pStackOverflow, 0));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue