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

* 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:
drbrain 2013-06-12 20:32:42 +00:00
parent 80a474a1e5
commit d341276561
2 changed files with 10 additions and 0 deletions

View file

@ -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.

View file

@ -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>