MessagePack for C
include
msgpack
predef
compiler
comeau.h
Go to the documentation of this file.
1
/*
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)
6
*/
7
8
#ifndef MSGPACK_PREDEF_COMPILER_COMEAU_H
9
#define MSGPACK_PREDEF_COMPILER_COMEAU_H
10
11
#include <
msgpack/predef/version_number.h
>
12
#include <
msgpack/predef/make.h
>
13
14
#define MSGPACK_COMP_COMO MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
15
16
/*`
17
[heading `MSGPACK_COMP_COMO`]
18
19
[@http://en.wikipedia.org/wiki/Comeau_C/C%2B%2B Comeau C++] compiler.
20
Version number available as major, minor, and patch.
21
22
[table
23
[[__predef_symbol__] [__predef_version__]]
24
25
[[`__COMO__`] [__predef_detection__]]
26
27
[[`__COMO_VERSION__`] [V.R.P]]
28
]
29
*/
30
31
#if defined(__COMO__)
32
# if !defined(MSGPACK_COMP_COMO_DETECTION) && defined(__COMO_VERSION__)
33
# define MSGPACK_COMP_COMO_DETECTION MSGPACK_PREDEF_MAKE_0X_VRP(__COMO_VERSION__)
34
# endif
35
# if !defined(MSGPACK_COMP_COMO_DETECTION)
36
# define MSGPACK_COMP_COMO_DETECTION MSGPACK_VERSION_NUMBER_AVAILABLE
37
# endif
38
#endif
39
40
#ifdef MSGPACK_COMP_COMO_DETECTION
41
# if defined(MSGPACK_PREDEF_DETAIL_COMP_DETECTED)
42
# define MSGPACK_COMP_COMO_EMULATED MSGPACK_COMP_COMO_DETECTION
43
# else
44
# undef MSGPACK_COMP_COMO
45
# define MSGPACK_COMP_COMO MSGPACK_COMP_COMO_DETECTION
46
# endif
47
# define MSGPACK_COMP_COMO_AVAILABLE
48
# include <
msgpack/predef/detail/comp_detected.h
>
49
#endif
50
51
#define MSGPACK_COMP_COMO_NAME "Comeau C++"
52
53
#endif
54
55
#include <
msgpack/predef/detail/test.h
>
56
MSGPACK_PREDEF_DECLARE_TEST
(
MSGPACK_COMP_COMO
,
MSGPACK_COMP_COMO_NAME
)
57
58
#ifdef MSGPACK_COMP_COMO_EMULATED
59
#include <
msgpack/predef/detail/test.h
>
60
MSGPACK_PREDEF_DECLARE_TEST
(MSGPACK_COMP_COMO_EMULATED,
MSGPACK_COMP_COMO_NAME
)
61
#endif
version_number.h
test.h
MSGPACK_COMP_COMO_NAME
#define MSGPACK_COMP_COMO_NAME
Definition:
comeau.h:51
comp_detected.h
MSGPACK_PREDEF_DECLARE_TEST
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition:
test.h:13
MSGPACK_COMP_COMO
#define MSGPACK_COMP_COMO
Definition:
comeau.h:14
make.h
Generated by
1.8.17