diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-06 12:19:21 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-06 12:19:21 +0000 |
commit | 9e469fbac28ebeedd3c5f9272c2552daacc59c29 (patch) | |
tree | 11629a290e64a0ee9a4e7bfcc8abd4950fe27c1e /win32/Makefile.sub | |
parent | 2b785b0f3e4f902e7de29a895d1f6ae0f10c3265 (diff) |
Merge changes from ruby_1_8 that fixes build with Visual C++ 8 with
Winsock2.
* win32/Makefile.sub (COMMON_HEADERS): include ws2tcpip.h.
* ext/socket/addrinfo.h (addrinfo, getaddrinfo, getnameinfo,
freehostent, freeaddrinfo): undef before define because these are
macros in some versions of Windows SDK.
* win32/setup.mak: maybe commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r-- | win32/Makefile.sub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 972e6933f5..1301d86fff 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -249,7 +249,7 @@ COMMON_MACROS = WIN32_LEAN_AND_MEAN WIN32 !if !defined(USE_WINSOCK2) COMMON_HEADERS = winsock.h !else -COMMON_HEADERS = winsock2.h +COMMON_HEADERS = winsock2.h ws2tcpip.h !endif COMMON_HEADERS = $(COMMON_HEADERS) windows.h !endif |