Merge pull request #30 from kaduk/max_path
Always provide a usable PATH_MAX
This commit is contained in:
@@ -151,7 +151,11 @@
|
||||
#endif /* !_WIN32 */
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#ifdef MAX_PATH
|
||||
#define PATH_MAX MAX_PATH
|
||||
#else
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef RETSIGTYPE
|
||||
|
Reference in New Issue
Block a user