projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pathmax: Leave PATH_MAX undefined on the Hurd, and a constant otherwise.
[gnulib.git]
/
lib
/
chdir-long.h
diff --git
a/lib/chdir-long.h
b/lib/chdir-long.h
index
1ad9dd8
..
feff175
100644
(file)
--- a/
lib/chdir-long.h
+++ b/
lib/chdir-long.h
@@
-19,11
+19,7
@@
#include <unistd.h>
#include <limits.h>
-#ifndef PATH_MAX
-# ifdef MAXPATHLEN
-# define PATH_MAX MAXPATHLEN
-# endif
-#endif
+#include "pathmax.h"
/* On systems without PATH_MAX, presume that chdir accepts
arbitrarily long directory names. */