Files
boost_predef/include/boost/predef/library/c/uc.h
T

48 lines
1.1 KiB
C
Raw Normal View History

/*
2014-01-10 08:46:03 -06:00
Copyright Rene Rivera 2008-2013
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
2008-04-04 18:47:29 +00:00
#ifndef BOOST_PREDEF_LIBRARY_C_UC_H
#define BOOST_PREDEF_LIBRARY_C_UC_H
2008-04-04 18:47:29 +00:00
#include <boost/predef/library/c/_prefix.h>
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
2008-04-04 18:47:29 +00:00
/*`
[heading `BOOST_LIB_C_UC`]
[@http://en.wikipedia.org/wiki/Uclibc uClibc] Standard C library.
[table
[[__predef_symbol__] [__predef_version__]]
2013-01-10 23:23:37 -06:00
[[`__UCLIBC__`] [__predef_detection__]]
2013-01-10 23:23:37 -06:00
[[`__UCLIBC_MAJOR__`, `__UCLIBC_MINOR__`, `__UCLIBC_SUBLEVEL__`] [V.R.P]]
]
*/
#define BOOST_LIB_C_UC BOOST_VERSION_NUMBER_NOT_AVAILABLE
2008-04-04 18:47:29 +00:00
#if defined(__UCLIBC__)
# undef BOOST_LIB_C_UC
# define BOOST_LIB_C_UC BOOST_VERSION_NUMBER(\
2008-04-04 18:47:29 +00:00
__UCLIBC_MAJOR__,__UCLIBC_MINOR__,__UCLIBC_SUBLEVEL__)
#endif
#if BOOST_LIB_C_UC
# define BOOST_LIB_C_UC_AVAILABLE
#endif
#define BOOST_LIB_C_UC_NAME "uClibc"
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_UC,BOOST_LIB_C_UC_NAME)
2008-04-04 18:47:29 +00:00
#endif