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: fix for wide-getaddrinfo option.

* ext/socket/addrinfo.c: rename {addr,name}info functions to ensure
  those are used on darwin.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-12-30 20:56:41 +00:00
parent 6096bbf0c0
commit 36f9338707
7 changed files with 67 additions and 55 deletions

View file

@ -135,11 +135,11 @@ inet_ntop(af, addr, numaddr, numaddr_len)
int
getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
const struct sockaddr *sa;
size_t salen;
socklen_t salen;
char *host;
size_t hostlen;
socklen_t hostlen;
char *serv;
size_t servlen;
socklen_t servlen;
int flags;
{
struct afd *afd;