Fix error on __has_include with older clang (< 3.1)

Signed-off-by: Kohei Takahashi <flast@flast.jp>
This commit is contained in:
Kohei Takahashi
2014-10-14 12:46:21 +09:00
parent eaa5c714c8
commit 2a51a64b84

View File

@ -127,15 +127,15 @@
# define BOOST_LIBSTDCXX_VERSION 40900 # define BOOST_LIBSTDCXX_VERSION 40900
#elif __has_include(<ext/cmath>) #elif __has_include(<ext/cmath>)
# define BOOST_LIBSTDCXX_VERSION 40800 # define BOOST_LIBSTDCXX_VERSION 40800
#elif __has_include(chrono) #elif __has_include(<chrono>)
# define BOOST_LIBSTDCXX_VERSION 40700 # define BOOST_LIBSTDCXX_VERSION 40700
#elif __has_include(typeindex) #elif __has_include(<typeindex>)
# define BOOST_LIBSTDCXX_VERSION 40600 # define BOOST_LIBSTDCXX_VERSION 40600
#elif __has_include(future) #elif __has_include(<future>)
# define BOOST_LIBSTDCXX_VERSION 40500 # define BOOST_LIBSTDCXX_VERSION 40500
#elif __has_include(ratio) #elif __has_include(<ratio>)
# define BOOST_LIBSTDCXX_VERSION 40400 # define BOOST_LIBSTDCXX_VERSION 40400
#elif __has_include(array) #elif __has_include(<array>)
# define BOOST_LIBSTDCXX_VERSION 40300 # define BOOST_LIBSTDCXX_VERSION 40300
#endif #endif
// //