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

option.c: mingw64 only

* ext/socket/option.c (inet_ntop): something weird only on mingw64.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-07-29 15:25:29 +00:00
parent dc40114781
commit 240dd36ffb

View file

@ -452,7 +452,7 @@ inet_ntop(int af, const void *addr, char *numaddr, size_t numaddr_len)
#endif
return numaddr;
}
#elif defined _WIN32
#elif defined __MINGW64__
# define inet_ntop(f,a,n,l) rb_w32_inet_ntop(f,a,n,l)
#endif