diff options
Diffstat (limited to 'lib/setenv.c')
-rw-r--r-- | lib/setenv.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/setenv.c b/lib/setenv.c index c3f9dc4ca..ae4174af2 100644 --- a/lib/setenv.c +++ b/lib/setenv.c @@ -21,10 +21,7 @@ #include <alloca.h> #include <errno.h> -#if !_LIBC -# if !defined errno && !defined HAVE_ERRNO_DECL -extern int errno; -# endif +#ifndef __set_errno # define __set_errno(ev) ((errno) = (ev)) #endif |