]> git.proxmox.com Git - wasi-libc.git/commit
Move the mode_t macros into their own header.
authorDan Gohman <sunfish@mozilla.com>
Thu, 9 May 2019 17:31:09 +0000 (10:31 -0700)
committerDan Gohman <sunfish@mozilla.com>
Fri, 10 May 2019 19:37:49 +0000 (12:37 -0700)
commit256081f62851094923f6887d90818c059c794bf4
tree2abc0f258ef90318630e5ad73266105b94de057c
parent861f0d2ec80c271ccf0856161579dfaaa40944d0
Move the mode_t macros into their own header.

This allows them to be defined by <fcntl.h> as well, as specified by
POSIX.

This fixes a part of src/api/fcntl.c.
expected/wasm32-wasi/include-all.c
expected/wasm32-wasi/predefined-macros.txt
libc-bottom-half/headers/public/__header_fcntl.h
libc-bottom-half/headers/public/__header_sys_stat.h
libc-bottom-half/headers/public/__mode_t.h [new file with mode: 0644]