Boost logo

Boost-Commit :

From: chris_at_[hidden]
Date: 2008-05-21 18:56:50


Author: chris_kohlhoff
Date: 2008-05-21 18:56:49 EDT (Wed, 21 May 2008)
New Revision: 45633
URL: http://svn.boost.org/trac/boost/changeset/45633

Log:
Some Windows platforms don't define IPPROTO_ICMPV6.

Text files modified:
   trunk/boost/asio/detail/old_win_sdk_compat.hpp | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: trunk/boost/asio/detail/old_win_sdk_compat.hpp
==============================================================================
--- trunk/boost/asio/detail/old_win_sdk_compat.hpp (original)
+++ trunk/boost/asio/detail/old_win_sdk_compat.hpp 2008-05-21 18:56:49 EDT (Wed, 21 May 2008)
@@ -330,6 +330,11 @@
 # define IPV6_V6ONLY 27
 #endif
 
+// Some SDKs (e.g. Windows CE) don't define IPPROTO_ICMPV6.
+#if !defined(IPPROTO_ICMPV6)
+# define IPPROTO_ICMPV6 58
+#endif
+
 #endif // defined(BOOST_WINDOWS) || defined(__CYGWIN__)
 
 #include <boost/asio/detail/pop_options.hpp>


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