From 3ebc799e5f80f8761e17eb6040a7eccfabf22acf Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 18 Jan 2009 05:30:35 +0000 Subject: * ext/socket/unixsocket.c: redandant #ifdef removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/unixsocket.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ext') diff --git a/ext/socket/unixsocket.c b/ext/socket/unixsocket.c index 7039a8219..a09f2b927 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] -- cgit