1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/socket/unixsocket.c: redandant #ifdef removed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-01-18 05:30:35 +00:00
parent 464efd977f
commit 55bf8fa11c
2 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -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]