diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-24 12:36:01 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-24 12:36:01 +0000 |
commit | 0dcbeda434ef05f5725e176008fae05ad27ebcb9 (patch) | |
tree | 8cbab295b332b60f5693f92631b31f5747dc5d39 /dln.c | |
parent | 7f62113f4d4e29795561df9a0d52a6960e207252 (diff) | |
download | ruby-0dcbeda434ef05f5725e176008fae05ad27ebcb9.tar.gz |
* dln.c: move the MAXPATHLEN definition in front.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
-rw-r--r-- | dln.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -61,6 +61,9 @@ void *xrealloc(); #ifdef HAVE_SYS_PARAM_H # include <sys/param.h> #endif +#ifndef MAXPATHLEN +# define MAXPATHLEN 1024 +#endif #ifdef HAVE_UNISTD_H # include <unistd.h> @@ -352,10 +355,6 @@ sym_hash(hdrp, syms) return tbl; } -#ifndef MAXPATHLEN -# define MAXPATHLEN 1024 -#endif - static int dln_init(prog) const char *prog; |