]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/predef/language/stdc.h
2 Copyright Rene Rivera 2011-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_LANGUAGE_STDC_H
9 #define BOOST_PREDEF_LANGUAGE_STDC_H
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
17 http://en.wikipedia.org/wiki/C_(programming_language)[Standard C] language.
18 If available, the year of the standard is detected as YYYY.MM.1 from the Epoch date.
22 | {predef_symbol} | {predef_version}
24 | `+__STDC__+` | {predef_detection}
26 | `+__STDC_VERSION__+` | V.R.P
28 */ // end::reference[]
30 #define BOOST_LANG_STDC BOOST_VERSION_NUMBER_NOT_AVAILABLE
33 # undef BOOST_LANG_STDC
34 # if defined(__STDC_VERSION__)
35 # if (__STDC_VERSION__ > 100)
36 # define BOOST_LANG_STDC BOOST_PREDEF_MAKE_YYYYMM(__STDC_VERSION__)
38 # define BOOST_LANG_STDC BOOST_VERSION_NUMBER_AVAILABLE
41 # define BOOST_LANG_STDC BOOST_VERSION_NUMBER_AVAILABLE
46 # define BOOST_LANG_STDC_AVAILABLE
49 #define BOOST_LANG_STDC_NAME "Standard C"
53 #include <boost/predef/detail/test.h>
54 BOOST_PREDEF_DECLARE_TEST(BOOST_LANG_STDC
,BOOST_LANG_STDC_NAME
)