ssh.c: add PATH_MAX definition for WIN32
This commit is contained in:
parent
3af9ba166c
commit
38c5e81a67
@ -98,6 +98,11 @@
|
|||||||
/* The last #include file should be: */
|
/* The last #include file should be: */
|
||||||
#include "memdebug.h"
|
#include "memdebug.h"
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
# undef PATH_MAX
|
||||||
|
# define PATH_MAX MAX_PATH
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
#define PATH_MAX 1024 /* just an extra precaution since there are systems that
|
#define PATH_MAX 1024 /* just an extra precaution since there are systems that
|
||||||
have their definition hidden well */
|
have their definition hidden well */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user