haiku.hpp 807 B

1234567891011121314151617181920212223242526272829303132
  1. // (C) Copyright Jessica Hamilton 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 for most recent version.
  6. // Haiku specific config options:
  7. #define BOOST_PLATFORM "Haiku"
  8. #define BOOST_HAS_UNISTD_H
  9. #define BOOST_HAS_STDINT_H
  10. #ifndef BOOST_DISABLE_THREADS
  11. # define BOOST_HAS_THREADS
  12. #endif
  13. #define BOOST_NO_CXX11_HDR_TYPE_TRAITS
  14. #define BOOST_NO_CXX11_ATOMIC_SMART_PTR
  15. #define BOOST_NO_CXX11_STATIC_ASSERT
  16. #define BOOST_NO_CXX11_VARIADIC_MACROS
  17. //
  18. // thread API's not auto detected:
  19. //
  20. #define BOOST_HAS_SCHED_YIELD
  21. #define BOOST_HAS_GETTIMEOFDAY
  22. // boilerplate code:
  23. #include <boost/config/detail/posix_features.hpp>