libcpp.hpp 966 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // (C) Copyright Christopher Jefferson 2011.
  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 for most recent version.
  6. // config for libc++
  7. // Might need more in here later.
  8. #if !defined(_LIBCPP_VERSION)
  9. # include <ciso646>
  10. # if !defined(_LIBCPP_VERSION)
  11. # error "This is not libc++!"
  12. # endif
  13. #endif
  14. #define BOOST_STDLIB "libc++ version " BOOST_STRINGIZE(_LIBCPP_VERSION)
  15. #define BOOST_HAS_THREADS
  16. #ifdef _LIBCPP_HAS_NO_VARIADICS
  17. # define BOOST_NO_CXX11_HDR_TUPLE
  18. #endif
  19. //
  20. // These appear to be unusable/incomplete so far:
  21. //
  22. # define BOOST_NO_CXX11_HDR_CHRONO
  23. # define BOOST_NO_CXX11_HDR_FUTURE
  24. # define BOOST_NO_CXX11_HDR_TYPE_TRAITS
  25. # define BOOST_NO_CXX11_ATOMIC_SMART_PTR
  26. // libc++ uses a non-standard messages_base
  27. #define BOOST_NO_STD_MESSAGES
  28. // --- end ---