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 BHO_PREDEF_OS_BSD_BSDI_H
  8. #define BHO_PREDEF_OS_BSD_BSDI_H
  9. #include <asio2/bho/predef/os/bsd.h>
  10. /* tag::reference[]
  11. = `BHO_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 BHO_OS_BSD_BSDI BHO_VERSION_NUMBER_NOT_AVAILABLE
  20. #if !defined(BHO_PREDEF_DETAIL_OS_DETECTED) && ( \
  21. defined(__bsdi__) \
  22. )
  23. # ifndef BHO_OS_BSD_AVAILABLE
  24. # undef BHO_OS_BSD
  25. # define BHO_OS_BSD BHO_VERSION_NUMBER_AVAILABLE
  26. # define BHO_OS_BSD_AVAILABLE
  27. # endif
  28. # undef BHO_OS_BSD_BSDI
  29. # define BHO_OS_BSD_BSDI BHO_VERSION_NUMBER_AVAILABLE
  30. #endif
  31. #if BHO_OS_BSD_BSDI
  32. # define BHO_OS_BSD_BSDI_AVAILABLE
  33. # include <asio2/bho/predef/detail/os_detected.h>
  34. #endif
  35. #define BHO_OS_BSD_BSDI_NAME "BSDi BSD/OS"
  36. #endif
  37. #include <asio2/bho/predef/detail/test.h>
  38. BHO_PREDEF_DECLARE_TEST(BHO_OS_BSD_BSDI,BHO_OS_BSD_BSDI_NAME)