bsdi.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. # undef BOOST_OS_BSD
  25. # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
  26. # define BOOST_OS_BSD_AVAILABLE
  27. # endif
  28. # undef BOOST_OS_BSD_BSDI
  29. # define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_AVAILABLE
  30. #endif
  31. #if BOOST_OS_BSD_BSDI
  32. # define BOOST_OS_BSD_BSDI_AVAILABLE
  33. # include <boost/predef/detail/os_detected.h>
  34. #endif
  35. #define BOOST_OS_BSD_BSDI_NAME "BSDi BSD/OS"
  36. #endif
  37. #include <boost/predef/detail/test.h>
  38. BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_BSDI,BOOST_OS_BSD_BSDI_NAME)