From 240dd36ffb40c86b6d87d4608d514ca4c556e671 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 29 Jul 2012 15:25:29 +0000 Subject: 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 --- ext/socket/option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/socket') 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 -- cgit v1.2.3