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