diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:35:58 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:35:58 +0100 |
commit | e8cda43e171c1aa8f4b858228e715290d400691c (patch) | |
tree | 38f8fec8ef93ba577920e3d8abf276771ba6caf5 /lib/replace/replace.h | |
parent | dbda9adfaf388f62cf359ea728ae303d81df81a9 (diff) | |
download | samba-e8cda43e171c1aa8f4b858228e715290d400691c.tar.gz samba-e8cda43e171c1aa8f4b858228e715290d400691c.tar.bz2 samba-e8cda43e171c1aa8f4b858228e715290d400691c.zip |
Move sys_symlink() to libreplace.
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r-- | lib/replace/replace.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h index fe01a8613e..f56c5b0dc9 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -230,6 +230,12 @@ int rep_link(const char *oldpath, const char *newpath); int rep_readlink(const char *path, char *buf, size_t bufsize); #endif +#ifndef HAVE_SYMLINK +#define symlink rep_symlink +int rep_symlink(const char *oldpath, const char *newpath); +#endif + + #ifndef HAVE_SETLINEBUF #define setlinebuf rep_setlinebuf void rep_setlinebuf(FILE *); |