X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fsetjmp.h;h=7dc72767db832ec9b5930bd5fa9f072e97300eb0;hp=83ad74912304f1a8d74670e03ceff2f20cd17ec8;hb=f419bcb9dcfb6af60fbf1d58d92caf4b3d62a4da;hpb=25d575edc494e5a519468889e62beea4dde186ea diff --git a/include/setjmp.h b/include/setjmp.h index 83ad7491..7dc72767 100644 --- a/include/setjmp.h +++ b/include/setjmp.h @@ -11,7 +11,11 @@ extern "C" { #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \ || defined(_BSD_SOURCE) -typedef unsigned long sigjmp_buf[(128+sizeof(jmp_buf))/sizeof(long)]; +typedef struct { + jmp_buf __jb; + unsigned long __fl; + unsigned long __ss[128/sizeof(long)]; +} sigjmp_buf[1]; int sigsetjmp (sigjmp_buf, int); void siglongjmp (sigjmp_buf, int); #endif