summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-03 19:34:17 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-03 19:34:17 +0000
commitd51c5a137ff595cd5f5a344853df81589af63fe0 (patch)
tree63e6ad1707cf530dcf6433124348c4897321f5ca /ext
parent1dfea336528757e19cc713dd84990afe11598b0a (diff)
* ext/socket/socket.c: redundant #ifdef removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/socket/socket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index d2ff340335d..08efab52d83 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -2298,14 +2298,12 @@ unix_sysaccept(VALUE sock)
return s_accept(0, fptr->fd, (struct sockaddr*)&from, &fromlen);
}
-#ifdef HAVE_SYS_UN_H
static VALUE
unixaddr(struct sockaddr_un *sockaddr, socklen_t len)
{
return rb_assoc_new(rb_str_new2("AF_UNIX"),
rb_str_new2(unixpath(sockaddr, len)));
}
-#endif
static VALUE
unix_addr(VALUE sock)