mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-06 18:29:50 +09:00
windows: Define PATH_MAX to MAX_PATH
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Change-Id: Ib3358ecb029d93c263d3cb39da25e82a772ae2c7
This commit is contained in:
@@ -169,7 +169,11 @@ int gettimeofday(struct timeval *__p, void *__t);
|
||||
|
||||
/* some constants */
|
||||
#ifndef PATH_MAX
|
||||
# define PATH_MAX 4096
|
||||
#ifdef MAX_PATH
|
||||
#define PATH_MAX MAX_PATH
|
||||
#else
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MAX_PACKET_LEN
|
||||
|
||||
Reference in New Issue
Block a user