зеркало из https://github.com/github/ruby.git
* ext/socket/rubysocket.h (rsock_inspect_sockaddr): as r40646
check HAVE_TYPE_STRUCT_SOCKADDR_DL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
7da6744329
Коммит
5aa618819b
|
@ -1,3 +1,8 @@
|
|||
Sun May 12 16:06:43 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ext/socket/rubysocket.h (rsock_inspect_sockaddr): as r40646
|
||||
check HAVE_TYPE_STRUCT_SOCKADDR_DL.
|
||||
|
||||
Sat May 11 23:01:58 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ext/socket/rubysocket.h (HAVE_TYPE_STRUCT_SOCKADDR_DL):
|
||||
|
|
|
@ -1159,7 +1159,7 @@ rsock_inspect_sockaddr(struct sockaddr *sockaddr_arg, socklen_t socklen, VALUE r
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef AF_LINK
|
||||
#if defined(AF_LINK) && defined(HAVE_TYPE_STRUCT_SOCKADDR_DL)
|
||||
/* AF_LINK is defined in 4.4BSD derivations since Net2.
|
||||
link_ntoa is also defined at Net2.
|
||||
However Debian GNU/kFreeBSD defines AF_LINK but
|
||||
|
|
Загрузка…
Ссылка в новой задаче