|
Boost-Commit : |
From: chris_at_[hidden]
Date: 2007-09-01 03:32:31
Author: chris_kohlhoff
Date: 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
New Revision: 39100
URL: http://svn.boost.org/trac/boost/changeset/39100
Log:
Define _WIN32_WINNT to suppress warnings. Add define necessary
for building with cygwin.
Text files modified:
trunk/libs/asio/example/allocation/Jamfile.v2 | 2 ++
trunk/libs/asio/example/buffers/Jamfile.v2 | 2 ++
trunk/libs/asio/example/chat/Jamfile.v2 | 2 ++
trunk/libs/asio/example/echo/Jamfile.v2 | 2 ++
trunk/libs/asio/example/http/client/Jamfile.v2 | 2 ++
trunk/libs/asio/example/http/server/Jamfile.v2 | 2 ++
trunk/libs/asio/example/http/server2/Jamfile.v2 | 2 ++
trunk/libs/asio/example/http/server3/Jamfile.v2 | 2 ++
trunk/libs/asio/example/invocation/Jamfile.v2 | 2 ++
trunk/libs/asio/example/iostreams/Jamfile.v2 | 2 ++
trunk/libs/asio/example/multicast/Jamfile.v2 | 2 ++
trunk/libs/asio/example/serialization/Jamfile.v2 | 2 ++
trunk/libs/asio/example/services/Jamfile.v2 | 2 ++
trunk/libs/asio/example/socks4/Jamfile.v2 | 2 ++
trunk/libs/asio/example/ssl/Jamfile.v2 | 2 ++
trunk/libs/asio/example/timeouts/Jamfile.v2 | 2 ++
trunk/libs/asio/example/timers/Jamfile.v2 | 2 ++
trunk/libs/asio/example/tutorial/Jamfile.v2 | 2 ++
trunk/libs/asio/test/Jamfile.v2 | 2 ++
trunk/libs/asio/test/ssl/Jamfile.v2 | 2 ++
20 files changed, 40 insertions(+), 0 deletions(-)
Modified: trunk/libs/asio/example/allocation/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/allocation/Jamfile.v2 (original)
+++ trunk/libs/asio/example/allocation/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -25,6 +25,8 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
Modified: trunk/libs/asio/example/buffers/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/buffers/Jamfile.v2 (original)
+++ trunk/libs/asio/example/buffers/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -25,6 +25,8 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
Modified: trunk/libs/asio/example/chat/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/chat/Jamfile.v2 (original)
+++ trunk/libs/asio/example/chat/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -26,8 +26,10 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
exe chat_server : chat_server.cpp ;
Modified: trunk/libs/asio/example/echo/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/echo/Jamfile.v2 (original)
+++ trunk/libs/asio/example/echo/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -26,8 +26,10 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
exe async_tcp_echo_server : async_tcp_echo_server.cpp ;
Modified: trunk/libs/asio/example/http/client/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/http/client/Jamfile.v2 (original)
+++ trunk/libs/asio/example/http/client/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -25,8 +25,10 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
exe async_client : async_client.cpp ;
Modified: trunk/libs/asio/example/http/server/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/http/server/Jamfile.v2 (original)
+++ trunk/libs/asio/example/http/server/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -34,6 +34,8 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
Modified: trunk/libs/asio/example/http/server2/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/http/server2/Jamfile.v2 (original)
+++ trunk/libs/asio/example/http/server2/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -34,6 +34,8 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
Modified: trunk/libs/asio/example/http/server3/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/http/server3/Jamfile.v2 (original)
+++ trunk/libs/asio/example/http/server3/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -33,6 +33,8 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
Modified: trunk/libs/asio/example/invocation/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/invocation/Jamfile.v2 (original)
+++ trunk/libs/asio/example/invocation/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -25,6 +25,8 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
Modified: trunk/libs/asio/example/iostreams/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/iostreams/Jamfile.v2 (original)
+++ trunk/libs/asio/example/iostreams/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -25,8 +25,10 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
exe daytime_client : daytime_client.cpp ;
Modified: trunk/libs/asio/example/multicast/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/multicast/Jamfile.v2 (original)
+++ trunk/libs/asio/example/multicast/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -25,8 +25,10 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
exe receiver : receiver.cpp ;
Modified: trunk/libs/asio/example/serialization/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/serialization/Jamfile.v2 (original)
+++ trunk/libs/asio/example/serialization/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -26,8 +26,10 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
exe client : client.cpp ;
Modified: trunk/libs/asio/example/services/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/services/Jamfile.v2 (original)
+++ trunk/libs/asio/example/services/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -27,6 +27,8 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
Modified: trunk/libs/asio/example/socks4/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/socks4/Jamfile.v2 (original)
+++ trunk/libs/asio/example/socks4/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -25,6 +25,8 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
Modified: trunk/libs/asio/example/ssl/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/ssl/Jamfile.v2 (original)
+++ trunk/libs/asio/example/ssl/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -36,8 +36,10 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
<library>ssl
<library>crypto
;
Modified: trunk/libs/asio/example/timeouts/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/timeouts/Jamfile.v2 (original)
+++ trunk/libs/asio/example/timeouts/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -25,8 +25,10 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
exe accept_timeout : accept_timeout.cpp ;
Modified: trunk/libs/asio/example/timers/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/timers/Jamfile.v2 (original)
+++ trunk/libs/asio/example/timers/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -25,8 +25,10 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
if [ os.name ] = NT
Modified: trunk/libs/asio/example/tutorial/Jamfile.v2
==============================================================================
--- trunk/libs/asio/example/tutorial/Jamfile.v2 (original)
+++ trunk/libs/asio/example/tutorial/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -26,8 +26,10 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
obj timer1.obj : timer1/timer.cpp ;
Modified: trunk/libs/asio/test/Jamfile.v2
==============================================================================
--- trunk/libs/asio/test/Jamfile.v2 (original)
+++ trunk/libs/asio/test/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -36,10 +36,12 @@
<os>SOLARIS:<define>__EXTENSIONS__
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>cw:<library>ws2_32
<os>NT,<toolset>cw:<library>mswsock
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
test-suite "asio" :
Modified: trunk/libs/asio/test/ssl/Jamfile.v2
==============================================================================
--- trunk/libs/asio/test/ssl/Jamfile.v2 (original)
+++ trunk/libs/asio/test/ssl/Jamfile.v2 2007-09-01 03:32:28 EDT (Sat, 01 Sep 2007)
@@ -36,8 +36,10 @@
<threading>multi
<os>SOLARIS:<library>socket
<os>SOLARIS:<library>nsl
+ <os>NT:<define>_WIN32_WINNT=0x0500
<os>NT,<toolset>gcc:<library>ws2_32
<os>NT,<toolset>gcc:<library>mswsock
+ <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
;
test-suite "asio-ssl" :
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk