dragonfly.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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_DRAGONFLY_H
  8. #define BOOST_PREDEF_OS_BSD_DRAGONFLY_H
  9. #include <boost/predef/os/bsd.h>
  10. /* tag::reference[]
  11. = `BOOST_OS_BSD_DRAGONFLY`
  12. http://en.wikipedia.org/wiki/DragonFly_BSD[DragonFly BSD] operating system.
  13. [options="header"]
  14. |===
  15. | {predef_symbol} | {predef_version}
  16. | `+__DragonFly__+` | {predef_detection}
  17. |===
  18. */ // end::reference[]
  19. #define BOOST_OS_BSD_DRAGONFLY BOOST_VERSION_NUMBER_NOT_AVAILABLE
  20. #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
  21. defined(__DragonFly__) \
  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_DRAGONFLY
  29. # if defined(__DragonFly__)
  30. # define BOOST_OS_DRAGONFLY_BSD BOOST_VERSION_NUMBER_AVAILABLE
  31. # endif
  32. #endif
  33. #if BOOST_OS_BSD_DRAGONFLY
  34. # define BOOST_OS_BSD_DRAGONFLY_AVAILABLE
  35. # include <boost/predef/detail/os_detected.h>
  36. #endif
  37. #define BOOST_OS_BSD_DRAGONFLY_NAME "DragonFly BSD"
  38. #endif
  39. #include <boost/predef/detail/test.h>
  40. BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_DRAGONFLY,BOOST_OS_BSD_DRAGONFLY_NAME)