forked from KolibriOS/kolibrios
1ed1f3a5b1
- headers update (now used true functions with attributes instead of pointers) - fixed some samples kos_mbedtls: microtar: changes for compatible to latest version tcc and the libc.obj headers git-svn-id: svn://kolibrios.org@9812 a494cfbc-eb01-0410-851d-a64ba20cac60
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_
|