mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 08:14:24 +02:00
Use sftp_realpath if no native realpath.
This commit is contained in:
parent
bb4f003ed8
commit
79d46de9fb
@ -1783,6 +1783,7 @@ AC_CHECK_FUNCS([ \
|
|||||||
raise \
|
raise \
|
||||||
readpassphrase \
|
readpassphrase \
|
||||||
reallocarray \
|
reallocarray \
|
||||||
|
realpath \
|
||||||
recvmsg \
|
recvmsg \
|
||||||
recallocarray \
|
recallocarray \
|
||||||
rresvport_af \
|
rresvport_af \
|
||||||
|
@ -182,4 +182,8 @@ int flock(int, int);
|
|||||||
struct tm *localtime_r(const time_t *, struct tm *);
|
struct tm *localtime_r(const time_t *, struct tm *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_REALPATH
|
||||||
|
#define realpath(x, y) (sftp_realpath((x), (y))
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _BSD_MISC_H */
|
#endif /* _BSD_MISC_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user