123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- #ifndef MSGPACK_PREDEF_OS_BSD_NET_H
- #define MSGPACK_PREDEF_OS_BSD_NET_H
- #include <msgpack/predef/os/bsd.h>
- #define MSGPACK_OS_BSD_NET MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
- #if !defined(MSGPACK_PREDEF_DETAIL_OS_DETECTED) && ( \
- defined(__NETBSD__) || defined(__NetBSD__) \
- )
- # ifndef MSGPACK_OS_BSD_AVAILABLE
- # define MSGPACK_OS_BSD MSGPACK_VERSION_NUMBER_AVAILABLE
- # define MSGPACK_OS_BSD_AVAILABLE
- # endif
- # undef MSGPACK_OS_BSD_NET
- # if defined(__NETBSD__)
- # if defined(__NETBSD_version)
- # if __NETBSD_version < 500000
- # define MSGPACK_OS_BSD_NET \
- MSGPACK_PREDEF_MAKE_10_VRP000(__NETBSD_version)
- # else
- # define MSGPACK_OS_BSD_NET \
- MSGPACK_PREDEF_MAKE_10_VRR000(__NETBSD_version)
- # endif
- # else
- # define MSGPACK_OS_BSD_NET MSGPACK_VERSION_NUMBER_AVAILABLE
- # endif
- # elif defined(__NetBSD__)
- # if !defined(MSGPACK_OS_BSD_NET) && defined(NetBSD0_8)
- # define MSGPACK_OS_BSD_NET MSGPACK_VERSION_NUMBER(0,8,0)
- # endif
- # if !defined(MSGPACK_OS_BSD_NET) && defined(NetBSD0_9)
- # define MSGPACK_OS_BSD_NET MSGPACK_VERSION_NUMBER(0,9,0)
- # endif
- # if !defined(MSGPACK_OS_BSD_NET) && defined(NetBSD1_0)
- # define MSGPACK_OS_BSD_NET MSGPACK_VERSION_NUMBER(1,0,0)
- # endif
- # if !defined(MSGPACK_OS_BSD_NET) && defined(__NetBSD_Version)
- # define MSGPACK_OS_BSD_NET \
- MSGPACK_PREDEF_MAKE_10_VVRR00PP00(__NetBSD_Version)
- # endif
- # if !defined(MSGPACK_OS_BSD_NET)
- # define MSGPACK_OS_BSD_NET MSGPACK_VERSION_NUMBER_AVAILABLE
- # endif
- # endif
- #endif
- #if MSGPACK_OS_BSD_NET
- # define MSGPACK_OS_BSD_NET_AVAILABLE
- # include <msgpack/predef/detail/os_detected.h>
- #endif
- #define MSGPACK_OS_BSD_NET_NAME "DragonFly BSD"
- #endif
- #include <msgpack/predef/detail/test.h>
- MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_OS_BSD_NET,MSGPACK_OS_BSD_NET_NAME)
|