1
0
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:
Siddhesh Poyarekar
2022-01-24 10:57:09 +05:30
parent 23e0e8f5f1
commit 976db046bc

View File

@@ -29,6 +29,10 @@
#define BASENAME "tst-realpath-toolong." #define BASENAME "tst-realpath-toolong."
#ifndef PATH_MAX
# define PATH_MAX 1024
#endif
int int
do_test (void) do_test (void)
{ {