dragonfly.h 1.3 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_DRAGONFLY_H
  8. #define BOOST_PREDEF_OS_BSD_DRAGONFLY_H
  9. #include <boost/predef/os/bsd.h>
  10. /*`
  11. [heading `BOOST_OS_BSD_DRAGONFLY`]
  12. [@http://en.wikipedia.org/wiki/DragonFly_BSD DragonFly BSD] operating system.
  13. [table
  14. [[__predef_symbol__] [__predef_version__]]
  15. [[`__DragonFly__`] [__predef_detection__]]
  16. ]
  17. */
  18. #define BOOST_OS_BSD_DRAGONFLY BOOST_VERSION_NUMBER_NOT_AVAILABLE
  19. #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
  20. defined(__DragonFly__) \
  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_DRAGONFLY
  27. # if defined(__DragonFly__)
  28. # define BOOST_OS_DRAGONFLY_BSD BOOST_VERSION_NUMBER_AVAILABLE
  29. # endif
  30. #endif
  31. #if BOOST_OS_BSD_DRAGONFLY
  32. # define BOOST_OS_BSD_DRAGONFLY_AVAILABLE
  33. # include <boost/predef/detail/os_detected.h>
  34. #endif
  35. #define BOOST_OS_BSD_DRAGONFLY_NAME "DragonFly BSD"
  36. #endif
  37. #include <boost/predef/detail/test.h>
  38. BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_DRAGONFLY,BOOST_OS_BSD_DRAGONFLY_NAME)