Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /*
0002  * Copyright (C) 2017 James E. King III
0003  *
0004  * Distributed under the Boost Software License, Version 1.0.
0005  * (See accompanying file LICENSE_1_0.txt or copy at
0006  *   http://www.boost.org/LICENSE_1_0.txt)
0007  */
0008 
0009 #ifndef BOOST_PREDEF_LIBRARY_C_CLOUDABI_H
0010 #define BOOST_PREDEF_LIBRARY_C_CLOUDABI_H
0011 
0012 #include <boost/predef/version_number.h>
0013 #include <boost/predef/make.h>
0014 
0015 #include <boost/predef/library/c/_prefix.h>
0016 
0017 #if defined(__CloudABI__)
0018 #include <stddef.h>
0019 #endif
0020 
0021 /* tag::reference[]
0022 = `BOOST_LIB_C_CLOUDABI`
0023 
0024 https://github.com/NuxiNL/cloudlibc[cloudlibc] - CloudABI's standard C library.
0025 Version number available as major, and minor.
0026 
0027 [options="header"]
0028 |===
0029 | {predef_symbol} | {predef_version}
0030 
0031 | `+__cloudlibc__+` | {predef_detection}
0032 
0033 | `+__cloudlibc_major__+`, `+__cloudlibc_minor__+` | V.R.0
0034 |===
0035 */ // end::reference[]
0036 
0037 #define BOOST_LIB_C_CLOUDABI BOOST_VERSION_NUMBER_NOT_AVAILABLE
0038 
0039 #if defined(__cloudlibc__)
0040 #   undef BOOST_LIB_C_CLOUDABI
0041 #   define BOOST_LIB_C_CLOUDABI \
0042             BOOST_VERSION_NUMBER(__cloudlibc_major__,__cloudlibc_minor__,0)
0043 #endif
0044 
0045 #if BOOST_LIB_C_CLOUDABI
0046 #   define BOOST_LIB_C_CLOUDABI_AVAILABLE
0047 #endif
0048 
0049 #define BOOST_LIB_C_CLOUDABI_NAME "cloudlibc"
0050 
0051 #endif
0052 
0053 #include <boost/predef/detail/test.h>
0054 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_CLOUDABI,BOOST_LIB_C_CLOUDABI_NAME)