bsdi.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. /*`
  11. [heading `BOOST_OS_BSD_BSDI`]
  12. [@http://en.wikipedia.org/wiki/BSD/OS BSDi BSD/OS] operating system.
  13. [table
  14. [[__predef_symbol__] [__predef_version__]]
  15. [[`__bsdi__`] [__predef_detection__]]
  16. ]
  17. */
  18. #define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_NOT_AVAILABLE
  19. #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
  20. defined(__bsdi__) \
  21. )
  22. # ifndef BOOST_OS_BSD_AVAILABLE
  23. # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
  24. # define BOOST_OS_BSD_AVAILABLE
  25. # endif
  26. # undef BOOST_OS_BSD_BSDI
  27. # define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_AVAILABLE
  28. #endif
  29. #if BOOST_OS_BSD_BSDI
  30. # define BOOST_OS_BSD_BSDI_AVAILABLE
  31. # include <boost/predef/detail/os_detected.h>
  32. #endif
  33. #define BOOST_OS_BSD_BSDI_NAME "BSDi BSD/OS"
  34. #endif
  35. #include <boost/predef/detail/test.h>
  36. BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_BSDI,BOOST_OS_BSD_BSDI_NAME)