]> git.proxmox.com Git - wasi-libc.git/commit - Makefile
Omit musl's stdarg.h and stddef.h from the sysroot.
authorDan Gohman <sunfish@mozilla.com>
Mon, 29 Apr 2019 12:52:26 +0000 (05:52 -0700)
committerDan Gohman <sunfish@mozilla.com>
Mon, 7 Oct 2019 15:59:24 +0000 (08:59 -0700)
commit33e8b5189bbf02f3a18d933e9b79e7d134f2d76c
tree905728a30c1e719635cb7635c1c635b72f5b92e9
parent1f409842192669a40c7dc431d1137ad47f66fabc
Omit musl's stdarg.h and stddef.h from the sysroot.

We already use the compiler's versions of these; this just moves from
having libc #include_next them to having libc just omit them entirely,
which is simpler.

This removes the special code to define musl's include guard, however
I originally added that when I was still working out how WASI's stddef.h
would interact with other code. I believe it's no longer important.
Makefile
expected/wasm32-wasi/include-all.c
expected/wasm32-wasi/predefined-macros.txt
libc-top-half/musl/include/stdarg.h
libc-top-half/musl/include/stddef.h