Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:06

0001 /*
0002 Copyright Rene Rivera 2008-2015
0003 Distributed under the Boost Software License, Version 1.0.
0004 (See accompanying file LICENSE_1_0.txt or copy at
0005 http://www.boost.org/LICENSE_1_0.txt)
0006 */
0007 
0008 #ifndef BOOST_PREDEF_OS_LINUX_H
0009 #define BOOST_PREDEF_OS_LINUX_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_OS_LINUX`
0016 
0017 http://en.wikipedia.org/wiki/Linux[Linux] operating system.
0018 
0019 [options="header"]
0020 |===
0021 | {predef_symbol} | {predef_version}
0022 
0023 | `linux` | {predef_detection}
0024 | `+__linux+` | {predef_detection}
0025 | `+__linux__+` | {predef_detection}
0026 | `+__gnu_linux__+` | {predef_detection}
0027 |===
0028 */ // end::reference[]
0029 
0030 #define BOOST_OS_LINUX BOOST_VERSION_NUMBER_NOT_AVAILABLE
0031 
0032 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
0033     defined(linux) || defined(__linux) || \
0034     defined(__linux__) || defined(__gnu_linux__) \
0035     )
0036 #   undef BOOST_OS_LINUX
0037 #   define BOOST_OS_LINUX BOOST_VERSION_NUMBER_AVAILABLE
0038 #endif
0039 
0040 #if BOOST_OS_LINUX
0041 #   define BOOST_OS_LINUX_AVAILABLE
0042 #   include <boost/predef/detail/os_detected.h>
0043 #endif
0044 
0045 #define BOOST_OS_LINUX_NAME "Linux"
0046 
0047 #endif
0048 
0049 #include <boost/predef/detail/test.h>
0050 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_LINUX,BOOST_OS_LINUX_NAME)