github.com/searKing/golang/go@v1.2.117/os/signal/cgo/include/boost/config/compiler/greenhills.hpp (about) 1 // (C) Copyright John Maddock 2001. 2 // Use, modification and distribution are subject to the 3 // Boost Software License, Version 1.0. (See accompanying file 4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 6 // See http://www.boost.org for most recent version. 7 8 // Greenhills C++ compiler setup: 9 10 #define BOOST_COMPILER "Greenhills C++ version " BOOST_STRINGIZE(__ghs) 11 12 #include <boost/config/compiler/common_edg.hpp> 13 14 // 15 // versions check: 16 // we don't support Greenhills prior to version 0: 17 #if __ghs < 0 18 # error "Compiler not supported or configured - please reconfigure" 19 #endif 20 // 21 // last known and checked version is 0: 22 #if (__ghs > 0) 23 # if defined(BOOST_ASSERT_CONFIG) 24 # error "boost: Unknown compiler version - please run the configure tests and report the results" 25 # endif 26 #endif 27 28