summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--ext/socket/socket.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a2d429257..03e6f57ccb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jan 4 04:33:14 2009 Tanaka Akira <akr@fsij.org>
+
+ * ext/socket/socket.c: redundant #ifdef removed.
+
Sun Jan 4 03:30:18 2009 Tanaka Akira <akr@fsij.org>
* io.c (maygvl_copy_stream_wait_read): renamed to add prefix to
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index d2ff340335..08efab52d8 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)