diff options
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/option.c | 2 |
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 |