Skip to content
Snippets Groups Projects
Commit 20526e72 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Support some MAXPATHLEN alternatives

parent c1d272c4
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,12 @@
#endif
#ifndef MAXPATHLEN
# ifdef _MAX_PATH
# if defined(PATHMAX)
# define MAXPATHLEN PATHMAX
# elif defined(_MAX_PATH)
# define MAXPATHLEN _MAX_PATH
# else
# define MAXPATHLEN 4096
# endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment