mirror of
https://github.com/ziglang/zig.git
synced 2025-12-08 07:13:08 +00:00
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.
21 lines
252 B
C
Vendored
21 lines
252 B
C
Vendored
#ifndef __wasilibc___errno_h
|
|
#define __wasilibc___errno_h
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern thread_local int errno;
|
|
#else
|
|
extern _Thread_local int errno;
|
|
#endif
|
|
|
|
#define errno errno
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|