Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:05

0001 /*
0002 Copyright Rene Rivera 2011-2015
0003 Distributed under the Boost Software License, Version 1.0.
0004 (See accompanying file LICENSE_1_0.txt or copy at
0005 http://www.boost.org/LICENSE_1_0.txt)
0006 */
0007 
0008 #ifndef BOOST_PREDEF_LANGUAGE_STDC_H
0009 #define BOOST_PREDEF_LANGUAGE_STDC_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_LANG_STDC`
0016 
0017 http://en.wikipedia.org/wiki/C_(programming_language)[Standard C] language.
0018 If available, the year of the standard is detected as YYYY.MM.1 from the Epoch date.
0019 
0020 [options="header"]
0021 |===
0022 | {predef_symbol} | {predef_version}
0023 
0024 | `+__STDC__+` | {predef_detection}
0025 
0026 | `+__STDC_VERSION__+` | V.R.P
0027 |===
0028 */ // end::reference[]
0029 
0030 #define BOOST_LANG_STDC BOOST_VERSION_NUMBER_NOT_AVAILABLE
0031 
0032 #if defined(__STDC__)
0033 #   undef BOOST_LANG_STDC
0034 #   if defined(__STDC_VERSION__)
0035 #       if (__STDC_VERSION__ > 100)
0036 #           define BOOST_LANG_STDC BOOST_PREDEF_MAKE_YYYYMM(__STDC_VERSION__)
0037 #       else
0038 #           define BOOST_LANG_STDC BOOST_VERSION_NUMBER_AVAILABLE
0039 #       endif
0040 #   else
0041 #       define BOOST_LANG_STDC BOOST_VERSION_NUMBER_AVAILABLE
0042 #   endif
0043 #endif
0044 
0045 #if BOOST_LANG_STDC
0046 #   define BOOST_LANG_STDC_AVAILABLE
0047 #endif
0048 
0049 #define BOOST_LANG_STDC_NAME "Standard C"
0050 
0051 #endif
0052 
0053 #include <boost/predef/detail/test.h>
0054 BOOST_PREDEF_DECLARE_TEST(BOOST_LANG_STDC,BOOST_LANG_STDC_NAME)