Differences From Artifact [531f6aaa25]:
- File src/OFApplication.m — part of check-in [d31ec806ef] at 2017-05-27 10:33:09 on branch trunk — Add unistd.h wrapper to make things less horrible (user: js, size: 11821) [annotate] [blame] [check-ins using]
To Artifact [fd2efe060c]:
- File
src/OFApplication.m
— part of check-in
[ddf0fae30d]
at
2017-05-27 13:58:15
on branch trunk
— OFApplication: Cast SIG_DFL to void (*)(int)
This is required for -noixemul on MorphOS. (user: js, size: 11836) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
463 464 465 466 467 468 469 | if ([delegate respondsToSelector: \ @selector(applicationDidReceive##sig)]) { \ _##sig##Handler = (void (*)(id, SEL))[(id)delegate \ methodForSelector: \ @selector(applicationDidReceive##sig)]; \ signal(sig, handle##sig); \ } else \ | | | 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 | if ([delegate respondsToSelector: \ @selector(applicationDidReceive##sig)]) { \ _##sig##Handler = (void (*)(id, SEL))[(id)delegate \ methodForSelector: \ @selector(applicationDidReceive##sig)]; \ signal(sig, handle##sig); \ } else \ signal(sig, (void (*)(int))SIG_DFL); #endif _delegate = delegate; REGISTER_SIGNAL(SIGINT) #ifdef SIGHUP REGISTER_SIGNAL(SIGHUP) |
︙ | ︙ |