]> git.proxmox.com Git - wasi-libc.git/commit
Add a basics implementation of <inttypes.h>.
authorDan Gohman <sunfish@mozilla.com>
Mon, 15 Apr 2019 12:00:57 +0000 (05:00 -0700)
committerDan Gohman <sunfish@mozilla.com>
Mon, 15 Apr 2019 16:44:33 +0000 (09:44 -0700)
commitad22a590135b1ea3caa747fa7b6b1ccba616a552
tree2bd05ab217884c3bddb37e6cc309f6f7a16d716c
parent9f0d8e85e3de52326e0cb44e1d1ad6a082939929
Add a basics implementation of <inttypes.h>.

Musl's generic definitions for PRIxPTR and several others in
<inttypes.h> are incorrect for wasm, so introduce a new <inttypes.h>
and <__header_inttypes.h> in the basics module using compiler-provided
definitions.

Fixes #13.
basics/include/__header_inttypes.h [new file with mode: 0644]
basics/include/inttypes.h [new file with mode: 0644]
expected/wasm32-wasi/include-all.c
expected/wasm32-wasi/predefined-macros.txt
libc-top-half/musl/include/inttypes.h