Sprout/sprout/predef/os/solaris.hpp
2019-01-07 17:47:17 +09:00

27 lines
912 B
C++

/*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_OS_SOLARIS_HPP
#define SPROUT_PREDEF_OS_SOLARIS_HPP
#include <sprout/config.hpp>
#define SPROUT_OS_SOLARIS 0
#if !defined(SPROUT_PREDEF_DETAIL_OS_DETECTED) && (defined(sun) || defined(__sun))
# undef SPROUT_OS_SOLARIS
# define SPROUT_OS_SOLARIS 1
#endif
#if SPROUT_OS_SOLARIS
# define SPROUT_OS_SOLARIS_AVAILABLE
# include <sprout/predef/detail/os_detected.hpp>
#endif
#define SPROUT_OS_SOLARIS_NAME "Solaris"
#endif // #ifndef SPROUT_PREDEF_OS_SOLARIS_HPP