mirror of
https://github.com/curl/curl.git
synced 2026-07-23 21:47:34 +03:00
ssh.c: add PATH_MAX definition for WIN32
This commit is contained in:
parent
3af9ba166c
commit
38c5e81a67
1 changed files with 5 additions and 0 deletions
|
|
@ -98,6 +98,11 @@
|
|||
/* The last #include file should be: */
|
||||
#include "memdebug.h"
|
||||
|
||||
#ifdef WIN32
|
||||
# undef PATH_MAX
|
||||
# define PATH_MAX MAX_PATH
|
||||
#endif
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 1024 /* just an extra precaution since there are systems that
|
||||
have their definition hidden well */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue