comparison DEPENDENCIES/generic/include/boost/predef/library/c/uc.h @ 16:2665513ce2d3

Add boost headers
author Chris Cannam
date Tue, 05 Aug 2014 11:11:38 +0100
parents
children c530137014c0
comparison
equal deleted inserted replaced
15:663ca0da4350 16:2665513ce2d3
1 /*
2 Copyright Redshift Software, Inc. 2008-2013
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)
6 */
7
8 #ifndef BOOST_PREDEF_LIBRARY_C_UC_H
9 #define BOOST_PREDEF_LIBRARY_C_UC_H
10
11 #include <boost/predef/library/c/_prefix.h>
12
13 #include <boost/predef/version_number.h>
14 #include <boost/predef/make.h>
15
16 /*`
17 [heading `BOOST_LIB_C_UC`]
18
19 [@http://en.wikipedia.org/wiki/Uclibc uClibc] Standard C library.
20
21 [table
22 [[__predef_symbol__] [__predef_version__]]
23
24 [[`__UCLIBC__`] [__predef_detection__]]
25
26 [[`__UCLIBC_MAJOR__`, `__UCLIBC_MINOR__`, `__UCLIBC_SUBLEVEL__`] [V.R.P]]
27 ]
28 */
29
30 #define BOOST_LIB_C_UC BOOST_VERSION_NUMBER_NOT_AVAILABLE
31
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__)
36 #endif
37
38 #if BOOST_LIB_C_UC
39 # define BOOST_LIB_C_UC_AVAILABLE
40 #endif
41
42 #define BOOST_LIB_C_UC_NAME "uClibc"
43
44 #include <boost/predef/detail/test.h>
45 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_UC,BOOST_LIB_C_UC_NAME)
46
47
48 #endif