os/ossrv/ossrv_pub/boost_apis/boost/config/compiler/greenhills.hpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/config/compiler/greenhills.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +//  (C) Copyright John Maddock 2001. 
     1.5 +//  Use, modification and distribution are subject to the 
     1.6 +//  Boost Software License, Version 1.0. (See accompanying file 
     1.7 +//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
     1.8 +
     1.9 +//  See http://www.boost.org for most recent version.
    1.10 +
    1.11 +//  Greenhills C++ compiler setup:
    1.12 +
    1.13 +#define BOOST_COMPILER "Greenhills C++ version " BOOST_STRINGIZE(__ghs)
    1.14 +
    1.15 +#include "boost/config/compiler/common_edg.hpp"
    1.16 +
    1.17 +//
    1.18 +// versions check:
    1.19 +// we don't support Greenhills prior to version 0:
    1.20 +#if __ghs < 0
    1.21 +#  error "Compiler not supported or configured - please reconfigure"
    1.22 +#endif
    1.23 +//
    1.24 +// last known and checked version is 0:
    1.25 +#if (__ghs > 0)
    1.26 +#  if defined(BOOST_ASSERT_CONFIG)
    1.27 +#     error "Unknown compiler version - please run the configure tests and report the results"
    1.28 +#  endif
    1.29 +#endif
    1.30 +
    1.31 +