setjmp: make setjmp a macro

This commit is contained in:
Lephenixnoir 2021-05-16 18:01:55 +02:00
parent 4933d9c19f
commit c88b31ec94
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ typedef struct __jmp_buf jmp_buf[1];
*/
extern int setjmp(jmp_buf env);
/* Standard requires setjmp to be a macro (7.13§1) */
#define setjmp setjmp
/*
** Store the calling environment in ENV, not saving the signal mask.
** Return 0.