github.com/searKing/golang/go@v1.2.117/os/signal/cgo/include/boost/predef/library/c/cloudabi.h (about) 1 /* 2 * Copyright (C) 2017 James E. King III 3 * 4 * Distributed under the Boost Software License, Version 1.0. 5 * (See accompanying file LICENSE_1_0.txt or copy at 6 * http://www.boost.org/LICENSE_1_0.txt) 7 */ 8 9 #ifndef BOOST_PREDEF_LIBRARY_C_CLOUDABI_H 10 #define BOOST_PREDEF_LIBRARY_C_CLOUDABI_H 11 12 #include <boost/predef/version_number.h> 13 #include <boost/predef/make.h> 14 15 #include <boost/predef/library/c/_prefix.h> 16 17 #if defined(__CloudABI__) 18 #include <stddef.h> 19 #endif 20 21 /* tag::reference[] 22 = `BOOST_LIB_C_CLOUDABI` 23 24 https://github.com/NuxiNL/cloudlibc[cloudlibc] - CloudABI's standard C library. 25 Version number available as major, and minor. 26 27 [options="header"] 28 |=== 29 | {predef_symbol} | {predef_version} 30 31 | `+__cloudlibc__+` | {predef_detection} 32 33 | `+__cloudlibc_major__+`, `+__cloudlibc_minor__+` | V.R.0 34 |=== 35 */ // end::reference[] 36 37 #define BOOST_LIB_C_CLOUDABI BOOST_VERSION_NUMBER_NOT_AVAILABLE 38 39 #if defined(__cloudlibc__) 40 # undef BOOST_LIB_C_CLOUDABI 41 # define BOOST_LIB_C_CLOUDABI \ 42 BOOST_VERSION_NUMBER(__cloudlibc_major__,__cloudlibc_minor__,0) 43 #endif 44 45 #if BOOST_LIB_C_CLOUDABI 46 # define BOOST_LIB_C_CLOUDABI_AVAILABLE 47 #endif 48 49 #define BOOST_LIB_C_CLOUDABI_NAME "cloudlibc" 50 51 #endif 52 53 #include <boost/predef/detail/test.h> 54 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_CLOUDABI,BOOST_LIB_C_CLOUDABI_NAME)