Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/predef/compiler/pgi.h @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children | c530137014c0 |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
1 /* | |
2 Copyright Redshift Software, Inc. 2008-2013 | |
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) | |
6 */ | |
7 | |
8 #ifndef BOOST_PREDEF_COMPILER_PGI_H | |
9 #define BOOST_PREDEF_COMPILER_PGI_H | |
10 | |
11 #include <boost/predef/version_number.h> | |
12 #include <boost/predef/make.h> | |
13 | |
14 /*` | |
15 [heading `BOOST_COMP_PGI`] | |
16 | |
17 [@http://en.wikipedia.org/wiki/The_Portland_Group Portland Group C/C++] compiler. | |
18 | |
19 [table | |
20 [[__predef_symbol__] [__predef_version__]] | |
21 | |
22 [[`__PGI`] [__predef_detection__]] | |
23 | |
24 [[`__PGIC__`, `__PGIC_MINOR__`, `__PGIC_PATCHLEVEL__`] [V.R.P]] | |
25 ] | |
26 */ | |
27 | |
28 #define BOOST_COMP_PGI BOOST_VERSION_NUMBER_NOT_AVAILABLE | |
29 | |
30 #if defined(__PGI) | |
31 # undef BOOST_COMP_PGI | |
32 # if !defined(BOOST_COMP_PGI) && (defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__)) | |
33 # define BOOST_COMP_PGI BOOST_VERSION_NUMBER(__PGIC__,__PGIC_MINOR__,__PGIC_PATCHLEVEL__) | |
34 # endif | |
35 # if !defined(BOOST_COMP_PGI) | |
36 # define BOOST_COMP_PGI BOOST_VERSION_NUMBER_AVAILABLE | |
37 # endif | |
38 #endif | |
39 | |
40 #if BOOST_COMP_PGI | |
41 # define BOOST_COMP_PGI_AVAILABLE | |
42 #endif | |
43 | |
44 #define BOOST_COMP_PGI_NAME "Portland Group C/C++" | |
45 | |
46 #include <boost/predef/detail/test.h> | |
47 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PGI,BOOST_COMP_PGI_NAME) | |
48 | |
49 | |
50 #endif |