2010-05-22 20:20:04 +00:00
|
|
|
/*
|
2012-07-15 03:37:23 +00:00
|
|
|
Copyright Redshift Software, Inc. 2008-2012
|
2010-05-22 20:20:04 +00:00
|
|
|
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
|
|
|
|
2010-02-25 16:59:10 +00:00
|
|
|
#ifndef BOOST_PREDEF_LIBRARY_C_GNU_H
|
|
|
|
|
#define BOOST_PREDEF_LIBRARY_C_GNU_H
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2010-02-25 16:59:10 +00:00
|
|
|
#include <boost/predef/version_number.h>
|
2011-11-19 03:46:41 +00:00
|
|
|
#include <boost/predef/make.h>
|
|
|
|
|
|
|
|
|
|
#if defined(__STDC__)
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
#elif defined(__cplusplus)
|
|
|
|
|
#include <cstddef>
|
|
|
|
|
#endif
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2011-11-30 05:54:23 +00:00
|
|
|
/*`
|
2012-07-15 03:37:23 +00:00
|
|
|
[heading `BOOST_LIB_C_GNU`]
|
2011-11-30 05:54:23 +00:00
|
|
|
|
|
|
|
|
[@http://en.wikipedia.org/wiki/Glibc GNU glibc] Standard C library.
|
|
|
|
|
Version number available as major, and minor.
|
2012-07-15 03:37:23 +00:00
|
|
|
|
|
|
|
|
[table
|
|
|
|
|
[[__predef_symbol__] [__predef_version__]]
|
|
|
|
|
|
2013-01-05 15:31:59 -06:00
|
|
|
[[`____`] [__predef_detection__]]
|
2012-07-15 03:37:23 +00:00
|
|
|
|
2013-01-05 15:31:59 -06:00
|
|
|
[[`____`] [V.R.P]]
|
2012-07-15 03:37:23 +00:00
|
|
|
]
|
2011-11-30 05:54:23 +00:00
|
|
|
*/
|
|
|
|
|
|
2012-07-15 03:37:23 +00:00
|
|
|
#define BOOST_LIB_C_GNU BOOST_VERSION_NUMBER(0,0,0)
|
2008-04-04 18:47:29 +00:00
|
|
|
|
|
|
|
|
#if defined(__GLIBC__) || defined(__GNU_LIBRARY__)
|
2012-07-15 03:37:23 +00:00
|
|
|
# undef BOOST_LIB_C_GNU
|
|
|
|
|
# if defined(__GLIBC__)
|
|
|
|
|
# define BOOST_LIB_C_GNU \
|
2008-04-04 18:47:29 +00:00
|
|
|
BOOST_VERSION_NUMBER(__GLIBC__,__GLIBC_MINOR__,0)
|
2012-07-15 03:37:23 +00:00
|
|
|
# else
|
|
|
|
|
# define BOOST_LIB_C_GNU \
|
2008-04-04 18:47:29 +00:00
|
|
|
BOOST_VERSION_NUMBER(__GNU_LIBRARY__,__GNU_LIBRARY_MINOR__,0)
|
2012-07-15 03:37:23 +00:00
|
|
|
# endif
|
2008-04-04 18:47:29 +00:00
|
|
|
#endif
|
|
|
|
|
|
2012-07-15 03:37:23 +00:00
|
|
|
#define BOOST_LIB_C_GNU_NAME "GNU"
|
|
|
|
|
|
2011-11-19 03:46:41 +00:00
|
|
|
#include <boost/predef/detail/test.h>
|
2012-07-15 03:37:23 +00:00
|
|
|
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_GNU,BOOST_LIB_C_GNU_NAME)
|
|
|
|
|
|
2011-11-19 03:46:41 +00:00
|
|
|
|
2008-04-04 18:47:29 +00:00
|
|
|
#endif
|