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 4
4
# (See accompanying file LICENSE_1_0.txt or copy at
5
5
# http://www.boost.org/LICENSE_1_0.txt)
6
6
7
+ import os ;
8
+
9
+ if [ os.name ] = CYGWIN
10
+ {
11
+ lib ws2_32 ;
12
+ lib mswsock ;
13
+ }
14
+
7
15
project network_test :
8
16
requirements
9
17
<include>../../../
@@ -14,6 +22,10 @@ project network_test :
14
22
<source>/boost//thread
15
23
<source>/boost//filesystem
16
24
<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
17
29
<toolset>msvc:<define>BOOST_ASIO_NO_WIN32_LEAN_AND_MEAN
18
30
<toolset>msvc:<define>WIN32_LEAN_AND_MEAN
19
31
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
You can’t perform that action at this time.
0 commit comments