Overview
Comment: | OFApplication: Cast SIG_DFL to void (*)(int)
This is required for -noixemul on MorphOS. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
ddf0fae30d2cc8ba0c72780541e22153 |
User & Date: | js on 2017-05-27 13:58:15 |
Other Links: | manifest | tags |
Context
2017-05-27
| ||
14:45 | OFStdIOStream: Use AmigaDOS directly on MorphOS check-in: 614c6678e8 user: js tags: trunk | |
13:58 | OFApplication: Cast SIG_DFL to void (*)(int) check-in: ddf0fae30d user: js tags: trunk | |
10:33 | Add unistd.h wrapper to make things less horrible check-in: d31ec806ef user: js tags: trunk | |
Changes
Modified src/OFApplication.m from [531f6aaa25] to [fd2efe060c].
︙ | ︙ | |||
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) |
︙ | ︙ |