haiku.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. Copyright Jessica Hamilton 2014
  3. Copyright Rene Rivera 2014-2015
  4. Distributed under the Boost Software License, Version 1.0.
  5. (See accompanying file LICENSE_1_0.txt or copy at
  6. http://www.boost.org/LICENSE_1_0.txt)
  7. */
  8. #ifndef BOOST_PREDEF_OS_HAIKU_H
  9. #define BOOST_PREDEF_OS_HAIKU_H
  10. #include <boost/predef/version_number.h>
  11. #include <boost/predef/make.h>
  12. /*`
  13. [heading `BOOST_OS_HAIKU`]
  14. [@http://en.wikipedia.org/wiki/Haiku_(operating_system) Haiku] operating system.
  15. [table
  16. [[__predef_symbol__] [__predef_version__]]
  17. [[`__HAIKU__`] [__predef_detection__]]
  18. ]
  19. */
  20. #define BOOST_OS_HAIKU BOOST_VERSION_NUMBER_NOT_AVAILABLE
  21. #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
  22. defined(__HAIKU__) \
  23. )
  24. # undef BOOST_OS_HAIKU
  25. # define BOOST_OS_HAIKU BOOST_VERSION_NUMBER_AVAILABLE
  26. #endif
  27. #if BOOST_OS_HAIKU
  28. # define BOOST_OS_HAIKU_AVAILABLE
  29. # include <boost/predef/detail/os_detected.h>
  30. #endif
  31. #define BOOST_OS_HAIKU_NAME "Haiku"
  32. #endif
  33. #include <boost/predef/detail/test.h>
  34. BOOST_PREDEF_DECLARE_TEST(BOOST_OS_HAIKU,BOOST_OS_HAIKU_NAME)