MessagePack for C
Loading...
Searching...
No Matches
comeau.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_COMEAU_H
9#define MSGPACK_PREDEF_COMPILER_COMEAU_H
10
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.
20Version 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
49#endif
50
51#define MSGPACK_COMP_COMO_NAME "Comeau C++"
52
53#endif
54
57
58#ifdef MSGPACK_COMP_COMO_EMULATED
61#endif
#define MSGPACK_COMP_COMO_NAME
Definition comeau.h:51
#define MSGPACK_COMP_COMO
Definition comeau.h:14
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition test.h:13