diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-19 16:10:06 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-19 16:10:06 +0000 |
commit | 529f149bfeb4ded03d64240becad21e8c8f0b8b2 (patch) | |
tree | b1072cea18880d111de0d484721c502e82ae78d6 /configure.in | |
parent | e1c9ac6bd91e9a96e40077cc16afa1fcabc8436f (diff) | |
download | ruby-529f149bfeb4ded03d64240becad21e8c8f0b8b2.tar.gz |
* dir.c (DEFINE_STRUCT_DIRENT): use union to allocate sufficient
memory space for Solaris. a patch from Naohisa GOTO
<ngoto at gen-info.osaka-u.ac.jp> in [ruby-dev:39132].
[ruby-dev:39062]
* configure.in (SIZEOF_STRUCT_DIRENT_TOO_SMALL): Solaris dirent
check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index f881cd82f1..1e32b7db9c 100644 --- a/configure.in +++ b/configure.in @@ -750,6 +750,10 @@ when(*) esac case "$target_os" in +when(solaris*) + AC_DEFINE(SIZEOF_STRUCT_DIRENT_TOO_SMALL, 1) + LIBS="-lm $LIBS" + ;; when(nextstep*) ;; when(openstep*) ;; when(rhapsody*) ;; |