From 8e996b793e26288874623cdd111122fd515d6088 Mon Sep 17 00:00:00 2001 From: yugui Date: Wed, 28 Oct 2009 14:15:32 +0000 Subject: merges r24585 from trunk into ruby_1_9_1. -- * dir.c (DEFINE_STRUCT_DIRENT): use union to allocate sufficient memory space for Solaris. a patch from Naohisa GOTO 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/branches/ruby_1_9_1@25538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index f49a88aea3..f5b1858a87 100644 --- a/configure.in +++ b/configure.in @@ -526,6 +526,10 @@ case "$target_os" in esac case "$target_os" in +solaris*) + AC_DEFINE(SIZEOF_STRUCT_DIRENT_TOO_SMALL, 1) + LIBS="-lm $LIBS" + ;; nextstep*) ;; openstep*) ;; rhapsody*) ;; -- cgit v1.2.3