/* * Copyright (C) 2017 James E. King III * * 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) */ #ifndef BOOST_PREDEF_LIBRARY_C_CLOUDABI_H #define BOOST_PREDEF_LIBRARY_C_CLOUDABI_H #include #include #include #if defined(__CloudABI__) #include #endif /* tag::reference[] = `BOOST_LIB_C_CLOUDABI` https://github.com/NuxiNL/cloudlibc[cloudlibc] - CloudABI's standard C library. Version number available as major, and minor. [options="header"] |=== | {predef_symbol} | {predef_version} | `+__cloudlibc__+` | {predef_detection} | `+__cloudlibc_major__+`, `+__cloudlibc_minor__+` | V.R.0 |=== */ // end::reference[] #define BOOST_LIB_C_CLOUDABI BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__cloudlibc__) # undef BOOST_LIB_C_CLOUDABI # define BOOST_LIB_C_CLOUDABI \ BOOST_VERSION_NUMBER(__cloudlibc_major__,__cloudlibc_minor__,0) #endif #if BOOST_LIB_C_CLOUDABI # define BOOST_LIB_C_CLOUDABI_AVAILABLE #endif #define BOOST_LIB_C_CLOUDABI_NAME "cloudlibc" #endif #include BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_CLOUDABI,BOOST_LIB_C_CLOUDABI_NAME)