mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-11-06 21:31:51 +00:00
We no longer have a need to maintain basics as a separate component. Folding it into libc-bottom-half eliminates a fair amount of redundancy.
21 lines
252 B
C
21 lines
252 B
C
#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
|