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

* configure.in (USE_WINSOCK2): ws2tcpip.h needs listed here.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2010-06-08 09:34:43 +00:00
parent f10f897bd1
commit 324c2b7d73
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Jun 8 18:32:47 2010 URABE Shyouhei <shyouhei@ruby-lang.org>
* configure.in (USE_WINSOCK2): ws2tcpip.h needs listed here.
Mon Jun 7 18:18:03 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* include/ruby/win32.h: include errno.h before defining errnos.

View file

@ -226,7 +226,7 @@ cygwin*|mingw*)
esac], [with_winsock2=no])
if test "$with_winsock2" = yes; then
AC_DEFINE(USE_WINSOCK2)
COMMON_HEADERS="winsock2.h windows.h"
COMMON_HEADERS="ws2tcpip.h winsock2.h windows.h"
else
COMMON_HEADERS="windows.h winsock.h"
fi