ToaruOS has sigaction now
This commit is contained in:
parent
ad39476a35
commit
984dea5e86
@ -650,7 +650,7 @@ static void handleSigtrap(int sigNum) {
|
||||
#endif
|
||||
|
||||
static void bindSignalHandlers(void) {
|
||||
#if !defined(_WIN32) && !defined(__toaru__)
|
||||
#if !defined(_WIN32)
|
||||
struct sigaction sigIntAction;
|
||||
sigIntAction.sa_handler = handleSigint;
|
||||
sigemptyset(&sigIntAction.sa_mask);
|
||||
@ -670,10 +670,6 @@ static void bindSignalHandlers(void) {
|
||||
NULL);
|
||||
#else
|
||||
signal(SIGINT, handleSigint);
|
||||
# ifndef _WIN32
|
||||
signal(SIGTRAP, handleSigtrap);
|
||||
/* No SIGTRAP on windows? */
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user