123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- #ifndef _PATHMAX_H
- # define _PATHMAX_H
- # include <unistd.h>
- # include <limits.h>
- # ifndef _POSIX_PATH_MAX
- # define _POSIX_PATH_MAX 256
- # endif
- # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
- # include <sys/param.h>
- # endif
- # if !defined PATH_MAX && defined MAXPATHLEN
- # define PATH_MAX MAXPATHLEN
- # endif
- # ifdef __hpux
- # undef PATH_MAX
- # define PATH_MAX 1024
- # endif
- # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
- # undef PATH_MAX
- # define PATH_MAX 260
- # endif
- #endif
|