public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix GNU/Hurd build
@ 2026-03-12 19:19 Samuel Thibault
  2026-03-12 20:38 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Samuel Thibault @ 2026-03-12 19:19 UTC (permalink / raw)
  To: git; +Cc: Samuel Thibault

GNU/Hurd does not have a PATH_MAX limitation

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
---
 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 <stdlib.h>
 #include <limits.h>
 
-#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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-16  6:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-12 19:19 [PATCH] Fix GNU/Hurd build Samuel Thibault
2026-03-12 20:38 ` Junio C Hamano
2026-03-13  6:39   ` Patrick Steinhardt
2026-03-13 17:24     ` Samuel Thibault
2026-03-13 19:08       ` Junio C Hamano
2026-03-16  6:41       ` Patrick Steinhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox