From: Samuel Thibault Date: Thu, 12 Mar 2026 19:19:01 GMT Subject: [PATCH] Fix GNU/Hurd build Message-ID: <20260312191901.174808-1-samuel.thibault@ens-lyon.org> GNU/Hurd does not have a PATH_MAX limitation Signed-off-by: Samuel Thibault --- t/unit-tests/clar/clar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/unit-tests/clar/clar.h b/t/unit-tests/clar/clar.h index f7e4363022..55b0361d91 100644 --- a/t/unit-tests/clar/clar.h +++ b/t/unit-tests/clar/clar.h @@ -11,7 +11,7 @@ #include #include -#if defined(_WIN32) && defined(CLAR_WIN32_LONGPATHS) +#if defined(__GNU__) || defined(_WIN32) && defined(CLAR_WIN32_LONGPATHS) # define CLAR_MAX_PATH 4096 #elif defined(_WIN32) # define CLAR_MAX_PATH MAX_PATH -- 2.51.0