wasi-libc/libc-top-half/musl/include/sys/syscall.h
Dan Gohman 9f0d8e85e3 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.
2019-04-15 04:05:20 -07:00

11 lines
216 B
C

#ifndef _SYS_SYSCALL_H
#define _SYS_SYSCALL_H
#ifdef __wasilibc_unmodified_upstream /* WASI has no syscall */
#include <bits/syscall.h>
#else
/* The generic syscall funtion is not yet implemented. */
#endif
#endif