annotate DEPENDENCIES/generic/include/boost/predef/language/stdc.h @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 /*
Chris@101 2 Copyright Rene Rivera 2011-2012
Chris@16 3 Distributed under the Boost Software License, Version 1.0.
Chris@16 4 (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 5 http://www.boost.org/LICENSE_1_0.txt)
Chris@16 6 */
Chris@16 7
Chris@16 8 #ifndef BOOST_PREDEF_LANGUAGE_STDC_H
Chris@16 9 #define BOOST_PREDEF_LANGUAGE_STDC_H
Chris@16 10
Chris@16 11 #include <boost/predef/version_number.h>
Chris@16 12 #include <boost/predef/make.h>
Chris@16 13
Chris@16 14 /*`
Chris@16 15 [heading `BOOST_LANG_STDC`]
Chris@16 16
Chris@16 17 [@http://en.wikipedia.org/wiki/C_(programming_language) Standard C] language.
Chris@16 18 If available, the year of the standard is detected as YYYY.MM.1 from the Epoc date.
Chris@16 19
Chris@16 20 [table
Chris@16 21 [[__predef_symbol__] [__predef_version__]]
Chris@16 22
Chris@16 23 [[`__STDC__`] [__predef_detection__]]
Chris@16 24
Chris@16 25 [[`__STDC_VERSION__`] [V.R.P]]
Chris@16 26 ]
Chris@16 27 */
Chris@16 28
Chris@16 29 #define BOOST_LANG_STDC BOOST_VERSION_NUMBER_NOT_AVAILABLE
Chris@16 30
Chris@16 31 #if defined(__STDC__)
Chris@16 32 # undef BOOST_LANG_STDC
Chris@16 33 # if defined(__STDC_VERSION__)
Chris@16 34 # if (__STDC_VERSION__ > 100)
Chris@16 35 # define BOOST_LANG_STDC BOOST_PREDEF_MAKE_YYYYMM(__STDC_VERSION__)
Chris@16 36 # else
Chris@16 37 # define BOOST_LANG_STDC BOOST_VERSION_NUMBER_AVAILABLE
Chris@16 38 # endif
Chris@16 39 # else
Chris@16 40 # define BOOST_LANG_STDC BOOST_VERSION_NUMBER_AVAILABLE
Chris@16 41 # endif
Chris@16 42 #endif
Chris@16 43
Chris@16 44 #if BOOST_LANG_STDC
Chris@16 45 # define BOOST_LANG_STDC_AVAILABLE
Chris@16 46 #endif
Chris@16 47
Chris@16 48 #define BOOST_LANG_STDC_NAME "Standard C"
Chris@16 49
Chris@16 50 #include <boost/predef/detail/test.h>
Chris@16 51 BOOST_PREDEF_DECLARE_TEST(BOOST_LANG_STDC,BOOST_LANG_STDC_NAME)
Chris@16 52
Chris@16 53
Chris@16 54 #endif