diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-07 01:51:47 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-07 01:51:47 +0000 |
commit | 4e19b0e00f437c15954733a0e93ebf47edada5d6 (patch) | |
tree | fa8c32251e487def968f4e48e23c83d5cdf7d171 /win32/setup.mak | |
parent | 1aaca5786d295f1d54bbcf42d5d40e47cec4d458 (diff) |
* win32/{configure.bat, setup.mak, Makefile.sub, win32.h}: add
support new configure option `--with-winsock2'.
* win32/win32.c (StartSockets): ditto.
* ext/socket/extconf.rb: ditto.
* win32/win32.c (open_ifs_socket): new function.
* win32/win32.c (StartSockets, rb_w32_socket): use open_ifs_socket()
instead of socket().
ifs socket support is backported from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/setup.mak')
-rw-r--r-- | win32/setup.mak | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/setup.mak b/win32/setup.mak index 1d463d1b36..da7853bb20 100644 --- a/win32/setup.mak +++ b/win32/setup.mak @@ -41,6 +41,9 @@ MAKE = nmake srcdir = $(srcdir:\=/) prefix = $(prefix:\=/) EXTSTATIC = $(EXTSTATIC) +!if defined(USE_WINSOCK2) +USE_WINSOCK2 = $(USE_WINSOCK2) +!endif !if defined(RDOCTARGET) RDOCTARGET = $(RDOCTARGET) !endif |