Sprout/sprout/predef/os/bsd/dragonfly.hpp
2015-12-06 14:34:37 +09:00

34 lines
1.1 KiB
C++

/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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 SPROUT_PREDEF_OS_BSD_DRADONFLY_HPP
#define SPROUT_PREDEF_OS_BSD_DRADONFLY_HPP
#include <sprout/config.hpp>
#include <sprout/predef/os/bsd.hpp>
#define SPROUT_OS_BSD_DRAGONFLY 0
#if !defined(SPROUT_PREDEF_DETAIL_OS_DETECTED) && defined(__DragonFly__)
# ifndef SPROUT_OS_BSD_AVAILABLE
# define SPROUT_OS_BSD 1
# define SPROUT_OS_BSD_AVAILABLE
# endif
# undef SPROUT_OS_BSD_DRAGONFLY
# if defined(__DragonFly__)
# define SPROUT_OS_DRAGONFLY_BSD 1
# endif
#endif
#if SPROUT_OS_BSD_DRAGONFLY
# define SPROUT_OS_BSD_DRAGONFLY_AVAILABLE
# include <sprout/predef/detail/os_detected.hpp>
#endif
#define SPROUT_OS_BSD_DRAGONFLY_NAME "DragonFly BSD"
#endif // #ifndef SPROUT_PREDEF_OS_BSD_DRADONFLY_HPP