summaryrefslogtreecommitdiff
path: root/ext
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 /ext
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
Diffstat (limited to 'ext')
-rw-r--r--ext/socket/unixsocket.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/socket/unixsocket.c b/ext/socket/unixsocket.c
index 7039a82..a09f2b9 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]