]> git.proxmox.com Git - wasi-libc.git/commit - expected/wasm32-wasi-threads/predefined-macros.txt
Define _ALL_SOURCE when generating predefined-macros.txt.
authorDan Gohman <sunfish@mozilla.com>
Fri, 5 Apr 2019 23:10:38 +0000 (16:10 -0700)
committerDan Gohman <sunfish@mozilla.com>
Mon, 15 Apr 2019 11:05:20 +0000 (04:05 -0700)
commit9f0d8e85e3de52326e0cb44e1d1ad6a082939929
tree5a49a7cafec8254378c9555b372f6a64e94deec2
parent079d7bda78bc0ad8f69c1594444b54786545ce57
Define _ALL_SOURCE when generating predefined-macros.txt.

And clean up various stale declarations and macros that this turned up.
In particular:
 - Don't install pthread.h or aio.h in THREAD_MODEL=single mode.
 - Don't define mkstemp and friends, since WASI currently has no support for
   temporary directories.
18 files changed:
Makefile
expected/wasm32-wasi/defined-symbols.txt
expected/wasm32-wasi/include-all.c
expected/wasm32-wasi/predefined-macros.txt
libc-top-half/musl/include/fcntl.h
libc-top-half/musl/include/limits.h
libc-top-half/musl/include/sched.h
libc-top-half/musl/include/stdio.h
libc-top-half/musl/include/stdlib.h
libc-top-half/musl/include/sys/resource.h
libc-top-half/musl/include/sys/syscall.h
libc-top-half/musl/include/unistd.h
libc-top-half/musl/src/conf/fpathconf.c
libc-top-half/musl/src/conf/sysconf.c
libc-top-half/musl/src/locale/newlocale.c
libc-top-half/musl/src/misc/nftw.c
libc-top-half/musl/src/stdio/__stdio_close.c
libc-top-half/musl/src/time/getdate.c