]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/predef/include/boost/predef/library/c/uc.h
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_LIBRARY_C_UC_H
9 #define BOOST_PREDEF_LIBRARY_C_UC_H
11 #include <boost/predef/library/c/_prefix.h>
13 #include <boost/predef/version_number.h>
14 #include <boost/predef/make.h>
17 [heading `BOOST_LIB_C_UC`]
19 [@http://en.wikipedia.org/wiki/Uclibc uClibc] Standard C library.
22 [[__predef_symbol__] [__predef_version__]]
24 [[`__UCLIBC__`] [__predef_detection__]]
26 [[`__UCLIBC_MAJOR__`, `__UCLIBC_MINOR__`, `__UCLIBC_SUBLEVEL__`] [V.R.P]]
30 #define BOOST_LIB_C_UC BOOST_VERSION_NUMBER_NOT_AVAILABLE
32 #if defined(__UCLIBC__)
33 # undef BOOST_LIB_C_UC
34 # define BOOST_LIB_C_UC BOOST_VERSION_NUMBER(\
35 __UCLIBC_MAJOR__,__UCLIBC_MINOR__,__UCLIBC_SUBLEVEL__)
39 # define BOOST_LIB_C_UC_AVAILABLE
42 #define BOOST_LIB_C_UC_NAME "uClibc"
46 #include <boost/predef/detail/test.h>
47 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_UC
,BOOST_LIB_C_UC_NAME
)