mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
Support some MAXPATHLEN alternatives
This commit is contained in:
parent
c1d272c4ab
commit
20526e726c
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue