diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/skalibs/posixishard.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/skalibs/posixishard.h b/src/include/skalibs/posixishard.h index c7b3361..ecf4f9b 100644 --- a/src/include/skalibs/posixishard.h +++ b/src/include/skalibs/posixishard.h @@ -33,4 +33,10 @@ extern size_t strnlen (char const *, size_t) gccattr_pure ; #define SKALIBS_PATH_MAX 4096 #endif +#ifdef NAME_MAX +#define SKALIBS_NAME_MAX NAME_MAX +#else +#define SKALIBS_NAME_MAX 255 +#endif + #endif |