2 Copyright Rene Rivera 2008-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)
8 #ifndef BOOST_PREDEF_OS_LINUX_H
9 #define BOOST_PREDEF_OS_LINUX_H
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
15 [heading `BOOST_OS_LINUX`]
17 [@http://en.wikipedia.org/wiki/Linux Linux] operating system.
20 [[__predef_symbol__] [__predef_version__]]
22 [[`linux`] [__predef_detection__]]
23 [[`__linux`] [__predef_detection__]]
27 #define BOOST_OS_LINUX BOOST_VERSION_NUMBER_NOT_AVAILABLE
29 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
30 defined(linux) || defined(__linux) \
32 # undef BOOST_OS_LINUX
33 # define BOOST_OS_LINUX BOOST_VERSION_NUMBER_AVAILABLE
37 # define BOOST_OS_LINUX_AVAILABLE
38 # include <boost/predef/detail/os_detected.h>
41 #define BOOST_OS_LINUX_NAME "Linux"
45 #include <boost/predef/detail/test.h>
46 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_LINUX,BOOST_OS_LINUX_NAME)