aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-02 16:52:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-02 16:52:15 +0000
commitcc249c3411a0bf897efe6b1401c355f95d94eb29 (patch)
treeb768be50c184cef5e5b972bd975b6c103551ec63
parenta5ba1b8b22960275e6d821a0450bd7e507ad701f (diff)
downloadruby-cc249c3411a0bf897efe6b1401c355f95d94eb29.tar.gz
dln_find.c: MAXPATHLEN is not used already
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--dln_find.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/dln_find.c b/dln_find.c
index b17b0d23e1..b08612764e 100644
--- a/dln_find.c
+++ b/dln_find.c
@@ -48,13 +48,6 @@ char *dln_argv0;
# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif
-#ifdef HAVE_SYS_PARAM_H
-# include <sys/param.h>
-#endif
-#ifndef MAXPATHLEN
-# define MAXPATHLEN 1024
-#endif
-
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif