bsdi.h 1.2 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 MSGPACK_PREDEF_OS_BSD_BSDI_H
  8. #define MSGPACK_PREDEF_OS_BSD_BSDI_H
  9. #include <msgpack/predef/os/bsd.h>
  10. /*`
  11. [heading `MSGPACK_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 MSGPACK_OS_BSD_BSDI MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
  19. #if !defined(MSGPACK_PREDEF_DETAIL_OS_DETECTED) && ( \
  20. defined(__bsdi__) \
  21. )
  22. # ifndef MSGPACK_OS_BSD_AVAILABLE
  23. # define MSGPACK_OS_BSD MSGPACK_VERSION_NUMBER_AVAILABLE
  24. # define MSGPACK_OS_BSD_AVAILABLE
  25. # endif
  26. # undef MSGPACK_OS_BSD_BSDI
  27. # define MSGPACK_OS_BSD_BSDI MSGPACK_VERSION_NUMBER_AVAILABLE
  28. #endif
  29. #if MSGPACK_OS_BSD_BSDI
  30. # define MSGPACK_OS_BSD_BSDI_AVAILABLE
  31. # include <msgpack/predef/detail/os_detected.h>
  32. #endif
  33. #define MSGPACK_OS_BSD_BSDI_NAME "BSDi BSD/OS"
  34. #endif
  35. #include <msgpack/predef/detail/test.h>
  36. MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_OS_BSD_BSDI,MSGPACK_OS_BSD_BSDI_NAME)