]> sourceware.org Git - glibc.git/commitdiff
tst-realpath-toolong: Fix hurd build
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 24 Jan 2022 05:27:09 +0000 (10:57 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 24 Jan 2022 05:30:23 +0000 (11:00 +0530)
Define PATH_MAX to a constant if it isn't already defined, like in hurd.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
stdlib/tst-realpath-toolong.c

index 8bed772460b375718c8e7dd86a93d16197b26141..438889029437460141fb29bb23945dfc941ce909 100644 (file)
 
 #define BASENAME "tst-realpath-toolong."
 
+#ifndef PATH_MAX
+# define PATH_MAX 1024
+#endif
+
 int
 do_test (void)
 {
This page took 0.042873 seconds and 5 git commands to generate.