Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 240dd36ffb40c86b6d87d4608d514ca4c556e671 1 parent dc40114
@nobu nobu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/socket/option.c
View
2  ext/socket/option.c
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.