|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58703 - in trunk/boost/asio: . detail impl
From: chris_at_[hidden]
Date: 2010-01-05 06:51:43
Author: chris_kohlhoff
Date: 2010-01-05 06:51:41 EST (Tue, 05 Jan 2010)
New Revision: 58703
URL: http://svn.boost.org/trac/boost/changeset/58703
Log:
Include boost/limits.hpp rather than <limits>, to support older compilers.
Refs #3743.
Text files modified:
trunk/boost/asio/basic_streambuf.hpp | 2 +-
trunk/boost/asio/detail/buffer_resize_guard.hpp | 2 +-
trunk/boost/asio/detail/consuming_buffers.hpp | 2 +-
trunk/boost/asio/detail/timer_queue.hpp | 2 +-
trunk/boost/asio/detail/win_iocp_io_service.hpp | 2 +-
trunk/boost/asio/impl/io_service.ipp | 2 +-
trunk/boost/asio/impl/read_until.ipp | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
Modified: trunk/boost/asio/basic_streambuf.hpp
==============================================================================
--- trunk/boost/asio/basic_streambuf.hpp (original)
+++ trunk/boost/asio/basic_streambuf.hpp 2010-01-05 06:51:41 EST (Tue, 05 Jan 2010)
@@ -20,11 +20,11 @@
#include <boost/asio/detail/push_options.hpp>
#include <algorithm>
#include <cstring>
-#include <limits>
#include <memory>
#include <stdexcept>
#include <streambuf>
#include <vector>
+#include <boost/limits.hpp>
#include <boost/throw_exception.hpp>
#include <boost/asio/detail/pop_options.hpp>
Modified: trunk/boost/asio/detail/buffer_resize_guard.hpp
==============================================================================
--- trunk/boost/asio/detail/buffer_resize_guard.hpp (original)
+++ trunk/boost/asio/detail/buffer_resize_guard.hpp 2010-01-05 06:51:41 EST (Tue, 05 Jan 2010)
@@ -18,8 +18,8 @@
#include <boost/asio/detail/push_options.hpp>
#include <boost/asio/detail/push_options.hpp>
-#include <limits>
#include <boost/config.hpp>
+#include <boost/limits.hpp>
#include <boost/asio/detail/pop_options.hpp>
namespace boost {
Modified: trunk/boost/asio/detail/consuming_buffers.hpp
==============================================================================
--- trunk/boost/asio/detail/consuming_buffers.hpp (original)
+++ trunk/boost/asio/detail/consuming_buffers.hpp 2010-01-05 06:51:41 EST (Tue, 05 Jan 2010)
@@ -20,9 +20,9 @@
#include <boost/asio/detail/push_options.hpp>
#include <algorithm>
#include <cstddef>
-#include <limits>
#include <boost/config.hpp>
#include <boost/iterator/iterator_facade.hpp>
+#include <boost/limits.hpp>
#include <boost/asio/detail/pop_options.hpp>
#include <boost/asio/buffer.hpp>
Modified: trunk/boost/asio/detail/timer_queue.hpp
==============================================================================
--- trunk/boost/asio/detail/timer_queue.hpp (original)
+++ trunk/boost/asio/detail/timer_queue.hpp 2010-01-05 06:51:41 EST (Tue, 05 Jan 2010)
@@ -20,10 +20,10 @@
#include <boost/asio/detail/push_options.hpp>
#include <cstddef>
#include <functional>
-#include <limits>
#include <memory>
#include <vector>
#include <boost/config.hpp>
+#include <boost/limits.hpp>
#include <boost/asio/detail/pop_options.hpp>
#include <boost/asio/error.hpp>
Modified: trunk/boost/asio/detail/win_iocp_io_service.hpp
==============================================================================
--- trunk/boost/asio/detail/win_iocp_io_service.hpp (original)
+++ trunk/boost/asio/detail/win_iocp_io_service.hpp 2010-01-05 06:51:41 EST (Tue, 05 Jan 2010)
@@ -22,7 +22,7 @@
#if defined(BOOST_ASIO_HAS_IOCP)
#include <boost/asio/detail/push_options.hpp>
-#include <limits>
+#include <boost/limits.hpp>
#include <boost/throw_exception.hpp>
#include <boost/system/system_error.hpp>
#include <boost/asio/detail/pop_options.hpp>
Modified: trunk/boost/asio/impl/io_service.ipp
==============================================================================
--- trunk/boost/asio/impl/io_service.ipp (original)
+++ trunk/boost/asio/impl/io_service.ipp 2010-01-05 06:51:41 EST (Tue, 05 Jan 2010)
@@ -18,7 +18,7 @@
#include <boost/asio/detail/push_options.hpp>
#include <boost/asio/detail/push_options.hpp>
-#include <limits>
+#include <boost/limits.hpp>
#include <boost/asio/detail/pop_options.hpp>
#include <boost/asio/detail/service_registry.hpp>
Modified: trunk/boost/asio/impl/read_until.ipp
==============================================================================
--- trunk/boost/asio/impl/read_until.ipp (original)
+++ trunk/boost/asio/impl/read_until.ipp 2010-01-05 06:51:41 EST (Tue, 05 Jan 2010)
@@ -19,9 +19,9 @@
#include <boost/asio/detail/push_options.hpp>
#include <algorithm>
-#include <limits>
#include <string>
#include <utility>
+#include <boost/limits.hpp>
#include <boost/asio/detail/pop_options.hpp>
#include <boost/asio/buffer.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