From 0a6f6d93952cdddd087e8f86f3dce4e8b06c6cde Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 31 Jan 2023 10:44:57 +0000 Subject: Define SKALIBS_PATH_MAX Signed-off-by: Laurent Bercot --- src/include/skalibs/posixishard.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/include/skalibs/posixishard.h b/src/include/skalibs/posixishard.h index b5da077..c7b3361 100644 --- a/src/include/skalibs/posixishard.h +++ b/src/include/skalibs/posixishard.h @@ -27,4 +27,10 @@ extern size_t strnlen (char const *, size_t) gccattr_pure ; #define MSG_NOSIGNAL 0 #endif +#ifdef PATH_MAX +#define SKALIBS_PATH_MAX PATH_MAX +#else +#define SKALIBS_PATH_MAX 4096 +#endif + #endif -- cgit v1.2.3