From 94db73543872e9c3e398b9c5b05b7b954f31a6a6 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Mon, 21 May 2007 01:34:43 +0000 Subject: [PATCH] gcc-4.2+ moved atomicity.hpp from bits/ to ext/ [SVN r37728] --- include/boost/detail/atomic_count_gcc.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/boost/detail/atomic_count_gcc.hpp b/include/boost/detail/atomic_count_gcc.hpp index 1160e44..9a1820d 100644 --- a/include/boost/detail/atomic_count_gcc.hpp +++ b/include/boost/detail/atomic_count_gcc.hpp @@ -17,7 +17,11 @@ // http://www.boost.org/LICENSE_1_0.txt) // -#include +#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2)) +# include +#else +# include +#endif namespace boost {