Commit 891dffb5 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

extra precaution to make PATH_MAX always be defined

parent f0b361ec
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -118,6 +118,11 @@
#include "memdebug.h"
#include "memdebug.h"
#endif
#endif


#ifndef PATH_MAX
#define PATH_MAX 1024 /* just an extra precaution since there are systems that
                         have their definition hidden well */
#endif

#ifndef LIBSSH2_SFTP_S_IRUSR
#ifndef LIBSSH2_SFTP_S_IRUSR
/* Here's a work-around for those of you who happend to run a libssh2 version
/* Here's a work-around for those of you who happend to run a libssh2 version
   that is 0.14 or older. We should remove this kludge as soon as we can
   that is 0.14 or older. We should remove this kludge as soon as we can