mirror of
https://github.com/curl/curl.git
synced 2026-05-13 11:46:20 +03:00
ssh: Fixed build on platforms where R_OK is not defined
Bug: http://curl.haxx.se/mail/lib-2014-11/0035.html Reported-by: Jan Ehrhardt
This commit is contained in:
parent
92e7e346f3
commit
3cfe3bc001
1 changed files with 3 additions and 0 deletions
|
|
@ -94,6 +94,9 @@
|
|||
#ifdef WIN32
|
||||
# undef PATH_MAX
|
||||
# define PATH_MAX MAX_PATH
|
||||
# ifndef R_OK
|
||||
# define R_OK 4
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef PATH_MAX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue