Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86105 - trunk/boost/asio/detail
From: steveire_at_[hidden]
Date: 2013-10-01 04:42:20


Author: skelly
Date: 2013-10-01 04:42:20 EDT (Tue, 01 Oct 2013)
New Revision: 86105
URL: http://svn.boost.org/trac/boost/changeset/86105

Log:
Asio: Remove obsolete GCC version checks.

Text files modified:
   trunk/boost/asio/detail/config.hpp | 18 +++++++-----------
   1 files changed, 7 insertions(+), 11 deletions(-)

Modified: trunk/boost/asio/detail/config.hpp
==============================================================================
--- trunk/boost/asio/detail/config.hpp Tue Oct 1 04:42:06 2013 (r86104)
+++ trunk/boost/asio/detail/config.hpp 2013-10-01 04:42:20 EDT (Tue, 01 Oct 2013) (r86105)
@@ -846,9 +846,7 @@
 #if !defined(BOOST_ASIO_HAS_HANDLER_HOOKS)
 # if !defined(BOOST_ASIO_DISABLE_HANDLER_HOOKS)
 # if defined(__GNUC__)
-# if (__GNUC__ >= 3)
-# define BOOST_ASIO_HAS_HANDLER_HOOKS 1
-# endif // (__GNUC__ >= 3)
+# define BOOST_ASIO_HAS_HANDLER_HOOKS 1
 # elif !defined(__BORLANDC__)
 # define BOOST_ASIO_HAS_HANDLER_HOOKS 1
 # endif // !defined(__BORLANDC__)
@@ -859,14 +857,12 @@
 #if !defined(BOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION)
 # if defined(__linux__)
 # if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
-# if ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)
-# if !defined(__INTEL_COMPILER) && !defined(__ICL)
-# define BOOST_ASIO_HAS_THREAD_KEYWORD_EXTENSION 1
-# define BOOST_ASIO_THREAD_KEYWORD __thread
-# elif defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1100)
-# define BOOST_ASIO_HAS_THREAD_KEYWORD_EXTENSION 1
-# endif // defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1100)
-# endif // ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)
+# if !defined(__INTEL_COMPILER) && !defined(__ICL)
+# define BOOST_ASIO_HAS_THREAD_KEYWORD_EXTENSION 1
+# define BOOST_ASIO_THREAD_KEYWORD __thread
+# elif defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1100)
+# define BOOST_ASIO_HAS_THREAD_KEYWORD_EXTENSION 1
+# endif // defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1100)
 # endif // defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
 # endif // defined(__linux__)
 # if defined(BOOST_ASIO_MSVC) && defined(WINAPI_FAMILY)


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