From 2a51a64b8474250edbf5983d3ee40bfbb3475dfc Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Tue, 14 Oct 2014 12:46:21 +0900 Subject: [PATCH] Fix error on __has_include with older clang (< 3.1) Signed-off-by: Kohei Takahashi --- include/boost/config/stdlib/libstdcpp3.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index f4a89862..b26d1ff9 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -127,15 +127,15 @@ # define BOOST_LIBSTDCXX_VERSION 40900 #elif __has_include() # define BOOST_LIBSTDCXX_VERSION 40800 -#elif __has_include(chrono) +#elif __has_include() # define BOOST_LIBSTDCXX_VERSION 40700 -#elif __has_include(typeindex) +#elif __has_include() # define BOOST_LIBSTDCXX_VERSION 40600 -#elif __has_include(future) +#elif __has_include() # define BOOST_LIBSTDCXX_VERSION 40500 -#elif __has_include(ratio) +#elif __has_include() # define BOOST_LIBSTDCXX_VERSION 40400 -#elif __has_include(array) +#elif __has_include() # define BOOST_LIBSTDCXX_VERSION 40300 #endif //