summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-29 15:25:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-29 15:25:29 +0000
commit240dd36ffb40c86b6d87d4608d514ca4c556e671 (patch)
tree5438e87737edacfa178dfb180a2216deb1195db5 /ext/socket
parentdc40114781a776f95ac85e0e9d4cf79b030aada6 (diff)
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
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c
index fe3cc6c02c..4e5f6c2c78 100644
--- a/ext/socket/option.c
+++ b/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