diff options
Diffstat (limited to 'ext/socket/socket.c')
-rw-r--r-- | ext/socket/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c index 7db06ef067..d9023e146e 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -2094,7 +2094,7 @@ static VALUE sock_s_socketpair(klass, domain, type, protocol) VALUE klass, domain, type, protocol; { -#if !defined(_WIN32) && !defined(__BEOS__) && !defined(__EMX__) && !defined(__QNXNTO__) +#if defined HAVE_SOCKETPAIR int d, t, sp[2]; setup_domain_and_type(domain, &d, type, &t); |