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/trunk@26209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6e4df2896f
commit
1069e0f335
8 changed files with 67 additions and 56 deletions
|
@ -97,9 +97,7 @@
|
|||
*/
|
||||
#define pseudo_AF_FTIP pseudo_AF_RTIP
|
||||
|
||||
#ifndef HAVE_GETADDRINFO
|
||||
# include "addrinfo.h"
|
||||
#endif
|
||||
#include "addrinfo.h"
|
||||
#include "sockport.h"
|
||||
|
||||
#ifndef NI_MAXHOST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue