MessagePack for C
Loading...
Searching...
No Matches
pgi.h
Go to the documentation of this file.
1/*
2Copyright Rene Rivera 2008-2015
3Distributed under the Boost Software License, Version 1.0.
4(See accompanying file LICENSE_1_0.txt or copy at
5http://www.boost.org/LICENSE_1_0.txt)
6*/
7
8#ifndef MSGPACK_PREDEF_COMPILER_PGI_H
9#define MSGPACK_PREDEF_COMPILER_PGI_H
10
12#include <msgpack/predef/make.h>
13
14/*`
15[heading `MSGPACK_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 MSGPACK_COMP_PGI MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
29
30#if defined(__PGI)
31# if !defined(MSGPACK_COMP_PGI_DETECTION) && (defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__))
32# define MSGPACK_COMP_PGI_DETECTION MSGPACK_VERSION_NUMBER(__PGIC__,__PGIC_MINOR__,__PGIC_PATCHLEVEL__)
33# endif
34# if !defined(MSGPACK_COMP_PGI_DETECTION)
35# define MSGPACK_COMP_PGI_DETECTION MSGPACK_VERSION_NUMBER_AVAILABLE
36# endif
37#endif
38
39#ifdef MSGPACK_COMP_PGI_DETECTION
40# if defined(MSGPACK_PREDEF_DETAIL_COMP_DETECTED)
41# define MSGPACK_COMP_PGI_EMULATED MSGPACK_COMP_PGI_DETECTION
42# else
43# undef MSGPACK_COMP_PGI
44# define MSGPACK_COMP_PGI MSGPACK_COMP_PGI_DETECTION
45# endif
46# define MSGPACK_COMP_PGI_AVAILABLE
48#endif
49
50#define MSGPACK_COMP_PGI_NAME "Portland Group C/C++"
51
52#endif
53
56
57#ifdef MSGPACK_COMP_PGI_EMULATED
60#endif
#define MSGPACK_COMP_PGI_NAME
Definition pgi.h:50
#define MSGPACK_COMP_PGI
Definition pgi.h:28
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition test.h:13