mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 15:28:30 +00:00
Make SIG_DFL / SIG_IGN C++ compatible
This commit is contained in:
parent
d721ff8938
commit
8cd4248f7f
2 changed files with 5 additions and 5 deletions
|
@ -17,8 +17,8 @@
|
|||
#define __WCLONE 0x80000000 /* Wait only on non-SIGCHLD children */
|
||||
|
||||
#define SIG_ERR ((void (*)(int))(-1))
|
||||
#define SIG_DFL ((void *)0)
|
||||
#define SIG_IGN ((void *)1)
|
||||
#define SIG_DFL ((void (*)(int))0)
|
||||
#define SIG_IGN ((void (*)(int))1)
|
||||
|
||||
#define MAP_FAILED ((void *)-1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue