Merge pull request #41 from Flast/bugfix/clang/has_include

Fix error on __has_include with older clang (< 3.1)
This commit is contained in:
jzmaddock
2014-10-14 08:54:04 +01:00

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
// //