github.com/searKing/golang/go@v1.2.74/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 /*` 22 [heading `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 [table 28 [[__predef_symbol__] [__predef_version__]] 29 30 [[`__cloudlibc__`] [__predef_detection__]] 31 32 [[`__cloudlibc_major__`, `__cloudlibc_minor__`] [V.R.0]] 33 ] 34 */ 35 36 #define BOOST_LIB_C_CLOUDABI BOOST_VERSION_NUMBER_NOT_AVAILABLE 37 38 #if defined(__cloudlibc__) 39 # undef BOOST_LIB_C_CLOUDABI 40 # define BOOST_LIB_C_CLOUDABI \ 41 BOOST_VERSION_NUMBER(__cloudlibc_major__,__cloudlibc_minor__,0) 42 #endif 43 44 #if BOOST_LIB_C_CLOUDABI 45 # define BOOST_LIB_C_CLOUDABI_AVAILABLE 46 #endif 47 48 #define BOOST_LIB_C_CLOUDABI_NAME "cloudlibc" 49 50 #endif 51 52 #include <boost/predef/detail/test.h> 53 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_CLOUDABI,BOOST_LIB_C_CLOUDABI_NAME)