1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* dln.c: #define S_ISDIR if not defined.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2001-05-30 23:35:05 +00:00
parent 590c5926f0
commit 0268c8f747
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Thu May 31 08:31:22 2001 Usaku Nakamura <usa@osb.att.ne.jp>
* dln.c: #define S_ISDIR if not defined.
Thu May 31 01:28:54 2001 Akinori MUSHA <knu@iDaemons.org>
* configure.in: default --with-libc_r to `no' until the problem is

4
dln.c
View file

@ -50,6 +50,10 @@ void *xrealloc();
#include <sys/types.h>
#include <sys/stat.h>
#ifndef S_ISDIR
# define S_ISDIR(m) ((m & S_IFMT) == S_IFDIR)
#endif
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#else