summaryrefslogtreecommitdiffstats
path: root/ext/socket/socket.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-01 07:04:31 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-01 07:04:31 +0000
commit700b2725d21cf36a2052dfe60f9bede2962da2a0 (patch)
tree7817fac0e89be0e79a381ad39a09791803a27400 /ext/socket/socket.c
parent5aa97adf0806f85e3646e17346ea1ffb0389e2a2 (diff)
downloadruby-700b2725d21cf36a2052dfe60f9bede2962da2a0.tar.gz
ruby-700b2725d21cf36a2052dfe60f9bede2962da2a0.tar.xz
ruby-700b2725d21cf36a2052dfe60f9bede2962da2a0.zip
* ext/socket/mkconstants.rb (Socket::AF_INET6): moved from socket.c.
(Socket::PF_INET6): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/socket.c')
-rw-r--r--ext/socket/socket.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index 11976b01a..b91e1396c 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -3733,8 +3733,4 @@ Init_socket()
/* constants */
mConst = rb_define_module_under(rb_cSocket, "Constants");
#include "constants.h"
-#ifdef INET6 /* IPv6 is not supported although AF_INET6 is defined on bcc32/mingw */
- sock_define_const("AF_INET6", AF_INET6);
- sock_define_const("PF_INET6", PF_INET6);
-#endif
}