]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/predef/compiler/pgi.h
2 Copyright Rene Rivera 2008-2015
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt)
8 #ifndef BOOST_PREDEF_COMPILER_PGI_H
9 #define BOOST_PREDEF_COMPILER_PGI_H
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
17 http://en.wikipedia.org/wiki/The_Portland_Group[Portland Group C/{CPP}] compiler.
21 | {predef_symbol} | {predef_version}
23 | `+__PGI+` | {predef_detection}
25 | `+__PGIC__+`, `+__PGIC_MINOR__+`, `+__PGIC_PATCHLEVEL__+` | V.R.P
27 */ // end::reference[]
29 #define BOOST_COMP_PGI BOOST_VERSION_NUMBER_NOT_AVAILABLE
32 # if !defined(BOOST_COMP_PGI_DETECTION) && (defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__))
33 # define BOOST_COMP_PGI_DETECTION BOOST_VERSION_NUMBER(__PGIC__,__PGIC_MINOR__,__PGIC_PATCHLEVEL__)
35 # if !defined(BOOST_COMP_PGI_DETECTION)
36 # define BOOST_COMP_PGI_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
40 #ifdef BOOST_COMP_PGI_DETECTION
41 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
42 # define BOOST_COMP_PGI_EMULATED BOOST_COMP_PGI_DETECTION
44 # undef BOOST_COMP_PGI
45 # define BOOST_COMP_PGI BOOST_COMP_PGI_DETECTION
47 # define BOOST_COMP_PGI_AVAILABLE
48 # include <boost/predef/detail/comp_detected.h>
51 #define BOOST_COMP_PGI_NAME "Portland Group C/C++"
55 #include <boost/predef/detail/test.h>
56 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PGI
,BOOST_COMP_PGI_NAME
)
58 #ifdef BOOST_COMP_PGI_EMULATED
59 #include <boost/predef/detail/test.h>
60 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PGI_EMULATED
,BOOST_COMP_PGI_NAME
)