summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/Boost/src/boost/asio/ip/address_v6.hpp')
-rw-r--r--3rdParty/Boost/src/boost/asio/ip/address_v6.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/3rdParty/Boost/src/boost/asio/ip/address_v6.hpp b/3rdParty/Boost/src/boost/asio/ip/address_v6.hpp
index 5f5f092..4105c8d 100644
--- a/3rdParty/Boost/src/boost/asio/ip/address_v6.hpp
+++ b/3rdParty/Boost/src/boost/asio/ip/address_v6.hpp
@@ -2,7 +2,7 @@
// address_v6.hpp
// ~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2010 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -18,6 +18,10 @@
#include <boost/asio/detail/push_options.hpp>
#include <boost/asio/detail/push_options.hpp>
+#include <boost/config.hpp>
+#if !defined(BOOST_NO_IOSTREAM)
+# include <iosfwd>
+#endif // !defined(BOOST_NO_IOSTREAM)
#include <cstring>
#include <string>
#include <stdexcept>
@@ -383,6 +387,8 @@ private:
unsigned long scope_id_;
};
+#if !defined(BOOST_NO_IOSTREAM)
+
/// Output an address as a string.
/**
* Used to output a human-readable string for a specified address.
@@ -414,6 +420,8 @@ std::basic_ostream<Elem, Traits>& operator<<(
return os;
}
+#endif // !defined(BOOST_NO_IOSTREAM)
+
} // namespace ip
} // namespace asio
} // namespace boost