15 #ifndef STATIC_ASSERT_H
18 #ifndef _GLIBCXX_CLIMITS
21 #ifndef _GLIBCXX_CSTDIO
25 #define ARB_PATH_LOWER_LIMIT 256
26 #define ARB_PATH_UPPER_LIMIT 10000 // ought to be enough for anybody ;-)
29 #define ARB_PATH_MAX PATH_MAX
31 #define ARB_PATH_MAX 4096 // use a reasonable amout if PATH_MAX is undefined (i.e. if there is NO limit)
35 #error Failed to detect useable allowed size for filenames (ARB_PATH_MAX)
38 #error FILENAME_MAX is undefined
45 #if (ARB_PATH_MAX > ARB_PATH_UPPER_LIMIT)
47 #define ARB_PATH_MAX ARB_PATH_UPPER_LIMIT
51 #error arb_pathlen.h included twice
52 #endif // ARB_PATHLEN_H
STATIC_ASSERT(FILENAME_MAX >=ARB_PATH_MAX)
#define ARB_PATH_UPPER_LIMIT
#define ARB_PATH_LOWER_LIMIT