#pragma once #include typedef arch_jmp_buf_t jmp_buf; #if defined(__TINYC__) __attribute__((returns_twice)) int setjmp(jmp_buf env); #elif !defined(APHELEIA_SETJMP_NO_MACRO) #define setjmp(env) arch_setjmp(env) #else __attribute__((returns_twice)) int setjmp(jmp_buf env); #endif __attribute__((noreturn)) void longjmp(jmp_buf env, int val);