Merge branch 'sys-wait' into 'master'
fix sys_wait trailer and include guard See merge request redox-os/relibc!1225
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
sys_includes = ["sys/types.h", "sys/resource.h"]
|
||||
include_guard = "_SYS_WAIT_H"
|
||||
trailer = """
|
||||
include_guard = "_RELIBC_SYS_WAIT_H"
|
||||
after_includes = """
|
||||
|
||||
#define WEXITSTATUS(s) (((s) >> 8) & 0xff)
|
||||
#define WTERMSIG(s) ((s) & 0x7f)
|
||||
#define WSTOPSIG(s) WEXITSTATUS(s)
|
||||
|
||||
Reference in New Issue
Block a user