bsdi.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. Copyright Rene Rivera 2012-2015
  3. Distributed under the Boost Software License, Version 1.0.
  4. (See accompanying file LICENSE_1_0.txt or copy at
  5. http://www.boost.org/LICENSE_1_0.txt)
  6. */
  7. #ifndef BOOST_PREDEF_OS_BSD_BSDI_H
  8. #define BOOST_PREDEF_OS_BSD_BSDI_H
  9. #include <boost/predef/os/bsd.h>
  10. /* tag::reference[]
  11. = `BOOST_OS_BSD_BSDI`
  12. http://en.wikipedia.org/wiki/BSD/OS[BSDi BSD/OS] operating system.
  13. [options="header"]
  14. |===
  15. | {predef_symbol} | {predef_version}
  16. | `+__bsdi__+` | {predef_detection}
  17. |===
  18. */ // end::reference[]
  19. #define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_NOT_AVAILABLE
  20. #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
  21. defined(__bsdi__) \
  22. )
  23. # ifndef BOOST_OS_BSD_AVAILABLE
  24. # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
  25. # define BOOST_OS_BSD_AVAILABLE
  26. # endif
  27. # undef BOOST_OS_BSD_BSDI
  28. # define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_AVAILABLE
  29. #endif
  30. #if BOOST_OS_BSD_BSDI
  31. # define BOOST_OS_BSD_BSDI_AVAILABLE
  32. # include <boost/predef/detail/os_detected.h>
  33. #endif
  34. #define BOOST_OS_BSD_BSDI_NAME "BSDi BSD/OS"
  35. #endif
  36. #include <boost/predef/detail/test.h>
  37. BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_BSDI,BOOST_OS_BSD_BSDI_NAME)