]> git.proxmox.com Git - wasi-libc.git/commit - expected/wasm32-wasi-threads/predefined-macros.txt
Move the SEEK_* macros into their own header and use it from fcntl.h.
authorDan Gohman <sunfish@mozilla.com>
Wed, 8 May 2019 16:13:47 +0000 (09:13 -0700)
committerDan Gohman <sunfish@mozilla.com>
Thu, 9 May 2019 16:11:43 +0000 (09:11 -0700)
commit60cba39d11dbd440134e66ae1df534cabf099ea1
treed213ab921313a2cf07baea0174061440ad475320
parent1db93d116912b260cfc0924e935e7dda99cab37a
Move the SEEK_* macros into their own header and use it from fcntl.h.

POSIX requires fcntl.h to define the SEEK_* macros, so this satisfies
that requirement. Also, this allows <stdio.h> to avoid including as much
unnecessary content.

This fixes one issue with 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_unistd.h
libc-bottom-half/headers/public/__seek.h [new file with mode: 0644]
libc-top-half/musl/include/stdio.h