1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

ssh.c: add PATH_MAX definition for WIN32

This commit is contained in:
Yang Tse 2011-08-19 21:25:39 +02:00
parent 3af9ba166c
commit 38c5e81a67

View File

@ -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 */