зеркало из https://github.com/github/ruby.git
* configure.in: defines _DARWIN_UNLIMITED_SELECT if the target_os
is darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
248d589b55
Коммит
5852b97e4e
|
@ -1,3 +1,8 @@
|
|||
Fri Aug 19 13:18:00 2011 Kenta Murata <mrkn@mrkn.jp>
|
||||
|
||||
* configure.in: defines _DARWIN_UNLIMITED_SELECT if the target_os
|
||||
is darwin.
|
||||
|
||||
Fri Aug 19 13:14:00 2011 Kenta Murata <mrkn@mrkn.jp>
|
||||
|
||||
* thread.c: add a description for the behavior of select(2) on
|
||||
|
|
|
@ -938,7 +938,7 @@ AS_CASE(["$target_os"],
|
|||
[openstep*], [ ],
|
||||
[rhapsody*], [ ],
|
||||
[darwin*], [ RUBY_PREPEND_OPTION(LIBS, -lobjc)
|
||||
RUBY_APPEND_OPTIONS(CPPFLAGS, -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE)
|
||||
RUBY_APPEND_OPTIONS(CPPFLAGS, -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT)
|
||||
AC_MSG_CHECKING(whether Mac OS X 10.5 or later)
|
||||
AC_TRY_CPP([#include <AvailabilityMacros.h>
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED <= 1040
|
||||
|
|
Загрузка…
Ссылка в новой задаче