File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 44# (See accompanying file LICENSE_1_0.txt or copy at
55# http://www.boost.org/LICENSE_1_0.txt)
66
7+ import os ;
8+
9+ if [ os.name ] = CYGWIN
10+ {
11+ lib ws2_32 ;
12+ lib mswsock ;
13+ }
14+
715project network_test :
816 requirements
917 <include>../../../
@@ -14,6 +22,10 @@ project network_test :
1422 <source>/boost//thread
1523 <source>/boost//filesystem
1624 <toolset>gcc:<linkflags>-lpthread
25+ <os>cygwin,<toolset>gcc:<define>_WIN32_WINNT=0x0501
26+ <os>cygwin,<toolset>gcc:<define>__USE_W32_SOCKETS
27+ <os>cygwin,<toolset>gcc:<library>ws2_32
28+ <os>cygwin,<toolset>gcc:<library>mswsock
1729 <toolset>msvc:<define>BOOST_ASIO_NO_WIN32_LEAN_AND_MEAN
1830 <toolset>msvc:<define>WIN32_LEAN_AND_MEAN
1931 <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
You can’t perform that action at this time.
0 commit comments