#ifndef _ERRNO_H #include #if defined _ERRNO_H && !defined _ISOMAC # include /* Defines USE_TLS. */ # if USE_TLS && HAVE___THREAD && (!defined NOT_IN_libc || defined IS_IN_rtld) # undef errno # define errno errno /* For #ifndef errno tests. */ extern __thread int errno; # define __set_errno(val) (errno = (val)) # else # define __set_errno(val) (*__errno_location ()) = (val) # endif #endif /* _ERRNO_H */ #endif /* ! _ERRNO_H */