summaryrefslogtreecommitdiff
path: root/misc/realpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/realpath.c')
-rw-r--r--misc/realpath.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/misc/realpath.c b/misc/realpath.c
index fe5095933..c0908d3a1 100644
--- a/misc/realpath.c
+++ b/misc/realpath.c
@@ -19,18 +19,6 @@
extern int errno;
#endif
-#ifndef PATH_MAX
-#ifdef _POSIX_VERSION
-#define PATH_MAX _POSIX_PATH_MAX
-#else
-#ifdef MAXPATHLEN
-#define PATH_MAX MAXPATHLEN
-#else
-#define PATH_MAX 1024
-#endif
-#endif
-#endif
-
#define MAX_READLINKS 32
#ifdef __STDC__