blob: d9908853d65f1e987dd433f28b8286d77197b052 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <features.h>
#include <errno.h>
#undef errno
#ifdef __UCLIBC_HAS_TLS__
__thread int errno;
extern __thread int __libc_errno __attribute__ ((alias ("errno"))) attribute_hidden;
#else
extern int errno;
int errno = 0;
# ifdef __UCLIBC_HAS_THREADS__
strong_alias(errno,_errno)
# endif
#endif
|