summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-18 05:30:35 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-18 05:30:35 +0000
commit55bf8fa11c3cc2833f6848ee8a5a4b56a51bc3d9 (patch)
tree9fc15e826428657961de7dede033d143fa3bb6ba
parent464efd977f473eb3a898c718035503f48b2f24b5 (diff)
* ext/socket/unixsocket.c: redandant #ifdef removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/socket/unixsocket.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b2360c632..a9aaf084dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jan 18 14:29:52 2009 Tanaka Akira <akr@fsij.org>
+
+ * ext/socket/unixsocket.c: redandant #ifdef removed.
+
Sun Jan 18 03:33:23 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/raddrinfo.c (addrinfo_mdump): don't use symbol.
diff --git a/ext/socket/unixsocket.c b/ext/socket/unixsocket.c
index 7039a8219b..a09f2b927e 100644
--- a/ext/socket/unixsocket.c
+++ b/ext/socket/unixsocket.c
@@ -75,9 +75,7 @@ init_unixsock(VALUE sock, VALUE path, int server)
return sock;
}
-#endif
-#ifdef HAVE_SYS_UN_H
/*
* call-seq:
* UNIXSocket.new(path) => unixsocket
@@ -441,9 +439,7 @@ unix_peeraddr(VALUE sock)
rb_sys_fail("getpeername(2)");
return unixaddr(&addr, len);
}
-#endif
-#ifdef HAVE_SYS_UN_H
/*
* call-seq:
* UNIXSocket.pair([type [, protocol]]) => [unixsocket1, unixsocket2]