Include <stdbool.h>. Use bool where appropriate,
[gnulib.git] / lib / setenv.c
index c3f9dc4..ae4174a 100644 (file)
 #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