summaryrefslogtreecommitdiffstats
path: root/libc-bottom-half/headers/public/__errno.h
blob: 008245d9788e61faa4af1247ba389b84d7bb56df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __wasilibc___errno_h
#define __wasilibc___errno_h

#ifdef __cplusplus
extern "C" {
#endif

extern _Thread_local int errno;

#define errno errno

#ifdef __cplusplus
}
#endif
#endif