zig/lib/libc/include/wasm-wasi-musl/sys/syscall.h
Jakub Konka 7b74de7d71 wasi,cc: fix naming and add stubs for building
Rename include dir to match the convention:
  from `wasm32-wasi` to `wasm-wasi-musl`

Add building stubs which will be used to build and cache WASI
libc sysroot.
2021-05-20 16:54:00 +02:00

10 lines
216 B
C
Vendored

#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