forked from KolibriOS/kolibrios
- Move source code from `trunk` into program root directory. - Update build files and include paths. - These changes also update the CI build files in `.gitea/workflows/`. - Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden.
18 lines
328 B
C
18 lines
328 B
C
#ifndef _SETJMP_H_
|
|
#define _SETJMP_H_
|
|
|
|
#include <stddef.h>
|
|
|
|
typedef unsigned long __jmp_buf[6];
|
|
|
|
typedef struct __jmp_buf_tag {
|
|
__jmp_buf __jb;
|
|
unsigned long __fl;
|
|
unsigned long __ss[128 / sizeof(long)];
|
|
} jmp_buf[1];
|
|
|
|
DLLAPI int setjmp(jmp_buf env);
|
|
DLLAPI void longjmp(jmp_buf env, int val);
|
|
|
|
#endif // _SETJMP_H_
|