mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
tst-realpath-toolong: Fix hurd build
Define PATH_MAX to a constant if it isn't already defined, like in hurd. Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
This commit is contained in:
@@ -29,6 +29,10 @@
|
||||
|
||||
#define BASENAME "tst-realpath-toolong."
|
||||
|
||||
#ifndef PATH_MAX
|
||||
# define PATH_MAX 1024
|
||||
#endif
|
||||
|
||||
int
|
||||
do_test (void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user