1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

extra precaution to make PATH_MAX always be defined

This commit is contained in:
Daniel Stenberg 2007-06-19 11:50:08 +00:00
parent f0b361ecc1
commit 891dffb528

View File

@ -118,6 +118,11 @@
#include "memdebug.h"
#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
/* 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