diff options
Diffstat (limited to 'third_party/msgpack/include/msgpack/predef/os/bsd/dragonfly.h')
-rw-r--r-- | third_party/msgpack/include/msgpack/predef/os/bsd/dragonfly.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/third_party/msgpack/include/msgpack/predef/os/bsd/dragonfly.h b/third_party/msgpack/include/msgpack/predef/os/bsd/dragonfly.h new file mode 100644 index 0000000000..fde6f24ec6 --- /dev/null +++ b/third_party/msgpack/include/msgpack/predef/os/bsd/dragonfly.h @@ -0,0 +1,50 @@ +/* +Copyright Rene Rivera 2012-2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef MSGPACK_PREDEF_OS_BSD_DRAGONFLY_H +#define MSGPACK_PREDEF_OS_BSD_DRAGONFLY_H + +#include <msgpack/predef/os/bsd.h> + +/*` +[heading `MSGPACK_OS_BSD_DRAGONFLY`] + +[@http://en.wikipedia.org/wiki/DragonFly_BSD DragonFly BSD] operating system. + +[table + [[__predef_symbol__] [__predef_version__]] + + [[`__DragonFly__`] [__predef_detection__]] + ] + */ + +#define MSGPACK_OS_BSD_DRAGONFLY MSGPACK_VERSION_NUMBER_NOT_AVAILABLE + +#if !defined(MSGPACK_PREDEF_DETAIL_OS_DETECTED) && ( \ + defined(__DragonFly__) \ + ) +# ifndef MSGPACK_OS_BSD_AVAILABLE +# define MSGPACK_OS_BSD MSGPACK_VERSION_NUMBER_AVAILABLE +# define MSGPACK_OS_BSD_AVAILABLE +# endif +# undef MSGPACK_OS_BSD_DRAGONFLY +# if defined(__DragonFly__) +# define MSGPACK_OS_DRAGONFLY_BSD MSGPACK_VERSION_NUMBER_AVAILABLE +# endif +#endif + +#if MSGPACK_OS_BSD_DRAGONFLY +# define MSGPACK_OS_BSD_DRAGONFLY_AVAILABLE +# include <msgpack/predef/detail/os_detected.h> +#endif + +#define MSGPACK_OS_BSD_DRAGONFLY_NAME "DragonFly BSD" + +#endif + +#include <msgpack/predef/detail/test.h> +MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_OS_BSD_DRAGONFLY,MSGPACK_OS_BSD_DRAGONFLY_NAME) |