projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a link error on MacOS X.
[gnulib.git]
/
lib
/
setenv.c
diff --git
a/lib/setenv.c
b/lib/setenv.c
index
c3f9dc4
..
320469b
100644
(file)
--- a/
lib/setenv.c
+++ b/
lib/setenv.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 1992,1995-1999,2000-200
3
Free Software Foundation, Inc.
+/* Copyright (C) 1992,1995-1999,2000-200
4
Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
@@
-21,10
+21,7
@@
#include <alloca.h>
#include <errno.h>
#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
# define __set_errno(ev) ((errno) = (ev))
#endif