diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-10-06 12:41:02 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-10-06 12:41:02 +0200 |
commit | 6d53fee59d340e094dc448059ceddcb6fa4a001d (patch) | |
tree | 13d98888f2a1d5964c65b9fbca7a8bf24b724937 /gl/unistd.in.h | |
parent | 696eaa54f0415d49077e6e7ece9c44fb98d711b7 (diff) | |
download | gnutls-6d53fee59d340e094dc448059ceddcb6fa4a001d.tar.gz |
Update gnulib files.
Diffstat (limited to 'gl/unistd.in.h')
-rw-r--r-- | gl/unistd.in.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gl/unistd.in.h b/gl/unistd.in.h index fa4f4c83c0..34da9369c8 100644 --- a/gl/unistd.in.h +++ b/gl/unistd.in.h @@ -582,10 +582,14 @@ extern int link (const char *path1, const char *path2); #endif #if @GNULIB_LINKAT@ +# if @REPLACE_LINKAT@ +# undef linkat +# define linkat rpl_linkat +# endif /* Create a new hard link for an existing file, relative to two directories. FLAG controls whether symlinks are followed. Return 0 if successful, otherwise -1 and errno set. */ -# if !@HAVE_LINKAT@ +# if !@HAVE_LINKAT@ || @REPLACE_LINKAT@ extern int linkat (int fd1, const char *path1, int fd2, const char *path2, int flag); # endif |