Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:05

0001 /*
0002 Copyright Rene Rivera 2008-2015
0003 Distributed under the Boost Software License, Version 1.0.
0004 (See accompanying file LICENSE_1_0.txt or copy at
0005 http://www.boost.org/LICENSE_1_0.txt)
0006 */
0007 
0008 #ifndef BOOST_PREDEF_COMPILER_PGI_H
0009 #define BOOST_PREDEF_COMPILER_PGI_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_COMP_PGI`
0016 
0017 http://en.wikipedia.org/wiki/The_Portland_Group[Portland Group C/{CPP}] compiler.
0018 
0019 [options="header"]
0020 |===
0021 | {predef_symbol} | {predef_version}
0022 
0023 | `+__PGI+` | {predef_detection}
0024 
0025 | `+__PGIC__+`, `+__PGIC_MINOR__+`, `+__PGIC_PATCHLEVEL__+` | V.R.P
0026 |===
0027 */ // end::reference[]
0028 
0029 #define BOOST_COMP_PGI BOOST_VERSION_NUMBER_NOT_AVAILABLE
0030 
0031 #if defined(__PGI)
0032 #   if !defined(BOOST_COMP_PGI_DETECTION) && (defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__))
0033 #       define BOOST_COMP_PGI_DETECTION BOOST_VERSION_NUMBER(__PGIC__,__PGIC_MINOR__,__PGIC_PATCHLEVEL__)
0034 #   endif
0035 #   if !defined(BOOST_COMP_PGI_DETECTION)
0036 #       define BOOST_COMP_PGI_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
0037 #   endif
0038 #endif
0039 
0040 #ifdef BOOST_COMP_PGI_DETECTION
0041 #   if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0042 #       define BOOST_COMP_PGI_EMULATED BOOST_COMP_PGI_DETECTION
0043 #   else
0044 #       undef BOOST_COMP_PGI
0045 #       define BOOST_COMP_PGI BOOST_COMP_PGI_DETECTION
0046 #   endif
0047 #   define BOOST_COMP_PGI_AVAILABLE
0048 #   include <boost/predef/detail/comp_detected.h>
0049 #endif
0050 
0051 #define BOOST_COMP_PGI_NAME "Portland Group C/C++"
0052 
0053 #endif
0054 
0055 #include <boost/predef/detail/test.h>
0056 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PGI,BOOST_COMP_PGI_NAME)
0057 
0058 #ifdef BOOST_COMP_PGI_EMULATED
0059 #include <boost/predef/detail/test.h>
0060 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PGI_EMULATED,BOOST_COMP_PGI_NAME)
0061 #endif