blob: 35f705100eef7e580f52979114d9a54293961a31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <stdlib/errno.h>
#ifdef _ERRNO_H
#if USE_TLS && HAVE___THREAD
# undef errno
extern __thread int errno;
# define __set_errno(val) (errno = (val))
#else
# define __set_errno(val) (*__errno_location ()) = (val)
#endif
#endif
|