зеркало из https://github.com/github/ruby.git
* ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X
10.7+. [ruby-trunk - Bug #8517] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
80a474a1e5
Коммит
d341276561
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Jun 13 05:32:13 2013 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
|
* ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X
|
||||||
|
10.7+. [ruby-trunk - Bug #8517]
|
||||||
|
|
||||||
Thu Jun 13 00:17:18 2013 Tanaka Akira <akr@fsij.org>
|
Thu Jun 13 00:17:18 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* bignum.c (rb_integer_unpack_2comp): New function.
|
* bignum.c (rb_integer_unpack_2comp): New function.
|
||||||
|
|
|
@ -294,6 +294,11 @@ end
|
||||||
|
|
||||||
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
|
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
|
||||||
|
|
||||||
|
if /darwin/ =~ RUBY_PLATFORM
|
||||||
|
# For IPv6 extension header access on OS X 10.7+ [Bug #8517]
|
||||||
|
$CFLAGS << " -D__APPLE_USE_RFC_3542"
|
||||||
|
end
|
||||||
|
|
||||||
headers = []
|
headers = []
|
||||||
unless $mswin or $mingw
|
unless $mswin or $mingw
|
||||||
headers = %w<sys/types.h netdb.h string.h sys/socket.h netinet/in.h>
|
headers = %w<sys/types.h netdb.h string.h sys/socket.h netinet/in.h>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче