mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Avoid linking win32 signals impl
This shaves ~4kb off o/tiny/examples/hello2.com by avoiding linking the WIN32 signals polyfill unless sigaction() is being used. See #965
This commit is contained in:
parent
2b960bb249
commit
70155df7a9
8 changed files with 37 additions and 31 deletions
|
@ -15,9 +15,7 @@ COSMOPOLITAN_C_START_
|
|||
while (0)
|
||||
|
||||
sigset_t __sig_block(void);
|
||||
void __sig_finish(sigset_t);
|
||||
void __sig_unblock(sigset_t);
|
||||
sigset_t __sig_begin(sigset_t);
|
||||
int __sys_sigprocmask(int, const uint64_t *, uint64_t *, uint64_t);
|
||||
int sys_sigprocmask(int, const sigset_t *, sigset_t *);
|
||||
int sys_sigsuspend(const uint64_t *, uint64_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue