test_thread_fail2.cpp 462 B

12345678910111213
  1. // (C) Copyright John Maddock 2003.
  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. #include <boost/config.hpp>
  6. // disable thread support:
  7. #ifdef BOOST_HAS_THREADS
  8. # undef BOOST_HAS_THREADS
  9. #endif
  10. // this should now be a compiler error:
  11. #include <boost/config/requires_threads.hpp>
  12. // we should never get here...