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>
15 [heading `BOOST_COMP_PGI`]
17 [@http://en.wikipedia.org/wiki/The_Portland_Group Portland Group C/C++] compiler.
20 [[__predef_symbol__] [__predef_version__]]
22 [[`__PGI`] [__predef_detection__]]
24 [[`__PGIC__`, `__PGIC_MINOR__`, `__PGIC_PATCHLEVEL__`] [V.R.P]]
28 #define BOOST_COMP_PGI BOOST_VERSION_NUMBER_NOT_AVAILABLE
31 # if !defined(BOOST_COMP_PGI_DETECTION) && (defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__))
32 # define BOOST_COMP_PGI_DETECTION BOOST_VERSION_NUMBER(__PGIC__,__PGIC_MINOR__,__PGIC_PATCHLEVEL__)
34 # if !defined(BOOST_COMP_PGI_DETECTION)
35 # define BOOST_COMP_PGI_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
39 #ifdef BOOST_COMP_PGI_DETECTION
40 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
41 # define BOOST_COMP_PGI_EMULATED BOOST_COMP_PGI_DETECTION
43 # undef BOOST_COMP_PGI
44 # define BOOST_COMP_PGI BOOST_COMP_PGI_DETECTION
46 # define BOOST_COMP_PGI_AVAILABLE
47 # include <boost/predef/detail/comp_detected.h>
50 #define BOOST_COMP_PGI_NAME "Portland Group C/C++"
54 #include <boost/predef/detail/test.h>
55 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PGI,BOOST_COMP_PGI_NAME)
57 #ifdef BOOST_COMP_PGI_EMULATED
58 #include <boost/predef/detail/test.h>
59 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PGI_EMULATED,BOOST_COMP_PGI_NAME)