* 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
This commit is contained in:
parent
7f62113f4d
commit
0dcbeda434
@ -1,3 +1,7 @@
|
||||
Sun Nov 24 20:36:53 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* dln.c: move the MAXPATHLEN definition in front.
|
||||
|
||||
Fri Nov 22 22:55:01 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* sprintf.c (rb_f_sprintf): preceding ".." for negative
|
||||
|
7
dln.c
7
dln.c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user