libc: Make struct sigaction C-compatible
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
66365e15a7
commit
e0b5acb2ab
@ -15,7 +15,11 @@ struct sigaction
|
|||||||
__simple_sighandler_t sa_handler;
|
__simple_sighandler_t sa_handler;
|
||||||
sigset_t sa_mask;
|
sigset_t sa_mask;
|
||||||
int sa_flags;
|
int sa_flags;
|
||||||
|
#ifdef __cplusplus
|
||||||
void* __sa_sigreturn = nullptr;
|
void* __sa_sigreturn = nullptr;
|
||||||
|
#else
|
||||||
|
void* __sa_sigreturn;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
// Constants for the 'how' parameter in sigprocmask().
|
// Constants for the 'how' parameter in sigprocmask().
|
||||||
|
Loading…
Reference in New Issue
Block a user