X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsetjmp.h;h=28ff92e402b60daa14bcde580e868219ff413caf;hb=532cd3a7171667d3f18e03c7c8d9d6f7846551e4;hp=83ad74912304f1a8d74670e03ceff2f20cd17ec8;hpb=25d575edc494e5a519468889e62beea4dde186ea;p=musl diff --git a/include/setjmp.h b/include/setjmp.h index 83ad7491..28ff92e4 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]; +} sigjmp_buf[1]; int sigsetjmp (sigjmp_buf, int); void siglongjmp (sigjmp_buf, int); #endif