config_build_check.cpp 754 B

1234567891011121314151617181920
  1. // Copyright John Maddock 2014.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org/libs/config for the most recent version.//
  6. // Revision $Id$
  7. //
  8. // We include this as it contains some workarounds we may need (like a declaration for ::gets to get clang building):
  9. #include <boost/config.hpp>
  10. # include "../test/boost_has_int128.ipp"
  11. # include "../test/boost_no_constexpr.ipp"
  12. # include "../test/boost_no_cxx11_user_lit.ipp"
  13. int main( int, char *[] )
  14. {
  15. return boost_has_int128::test() || boost_no_cxx11_constexpr::test() || boost_no_cxx11_user_defined_literals::test();
  16. }