summaryrefslogtreecommitdiffstats
path: root/ext/socket/extconf.rb
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-21 06:46:41 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-21 06:46:41 +0000
commit1cb54abea63878c65fc1397766f161ea9e526453 (patch)
treea7555eb0dfb5990d0fbe6e2c0877e2f57aaf4815 /ext/socket/extconf.rb
parent3adc108c585912226f6198226191cf2dc54af7ea (diff)
downloadruby-1cb54abea63878c65fc1397766f161ea9e526453.tar.gz
ruby-1cb54abea63878c65fc1397766f161ea9e526453.tar.xz
ruby-1cb54abea63878c65fc1397766f161ea9e526453.zip
* intern.h, struct.c (rb_struct_iv_get): constified.
* marshal.c: avoid one VC++6 warning for implicit conversion from int to char. * ruby.h: ANSI styled. * bcc32/Makefile.sub (HAVE_HYPOT): added. * ext/socket/extconf.rb: BeOS is only one platform should call closesocket, so check __BEOS__ macro directly. (I was worried accidently HAVE_CLOSESOCKET is defined on windows again because it has it) * ext/socket/{getaddrinfo.c,socket.c}: ditto. ... these are all cosmetic changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/extconf.rb')
-rw-r--r--ext/socket/extconf.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index da498639a..a83afa558 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -9,7 +9,6 @@ when /cygwin/
when /beos/
test_func = "socket"
have_library("net", "socket")
- have_func("closesocket")
when /i386-os2_emx/
test_func = "socket"
have_library("socket", "socket")