From 55bf8fa11c3cc2833f6848ee8a5a4b56a51bc3d9 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 18 Jan 2009 05:30:35 +0000 Subject: [PATCH] * ext/socket/unixsocket.c: redandant #ifdef removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ ext/socket/unixsocket.c | 4 ---- 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 + + * ext/socket/unixsocket.c: redandant #ifdef removed. + Sun Jan 18 03:33:23 2009 Tanaka Akira * 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]