Back to home page

EIC code displayed by LXR

 
 

    


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

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_LIBRARY_C_UC_H
0009 #define BOOST_PREDEF_LIBRARY_C_UC_H
0010 
0011 #include <boost/predef/library/c/_prefix.h>
0012 
0013 #include <boost/predef/version_number.h>
0014 #include <boost/predef/make.h>
0015 
0016 /* tag::reference[]
0017 = `BOOST_LIB_C_UC`
0018 
0019 http://en.wikipedia.org/wiki/Uclibc[uClibc] Standard C library.
0020 
0021 [options="header"]
0022 |===
0023 | {predef_symbol} | {predef_version}
0024 
0025 | `+__UCLIBC__+` | {predef_detection}
0026 
0027 | `+__UCLIBC_MAJOR__+`, `+__UCLIBC_MINOR__+`, `+__UCLIBC_SUBLEVEL__+` | V.R.P
0028 |===
0029 */ // end::reference[]
0030 
0031 #define BOOST_LIB_C_UC BOOST_VERSION_NUMBER_NOT_AVAILABLE
0032 
0033 #if defined(__UCLIBC__)
0034 #   undef BOOST_LIB_C_UC
0035 #   define BOOST_LIB_C_UC BOOST_VERSION_NUMBER(\
0036         __UCLIBC_MAJOR__,__UCLIBC_MINOR__,__UCLIBC_SUBLEVEL__)
0037 #endif
0038 
0039 #if BOOST_LIB_C_UC
0040 #   define BOOST_LIB_C_UC_AVAILABLE
0041 #endif
0042 
0043 #define BOOST_LIB_C_UC_NAME "uClibc"
0044 
0045 #endif
0046 
0047 #include <boost/predef/detail/test.h>
0048 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_UC,BOOST_LIB_C_UC_NAME)