MessagePack for C
gcc_xml.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_GCC_XML_H
9 #define MSGPACK_PREDEF_COMPILER_GCC_XML_H
10 
12 #include <msgpack/predef/make.h>
13 
14 /*`
15 [heading `MSGPACK_COMP_GCCXML`]
16 
17 [@http://www.gccxml.org/ GCC XML] compiler.
18 
19 [table
20  [[__predef_symbol__] [__predef_version__]]
21 
22  [[`__GCCXML__`] [__predef_detection__]]
23  ]
24  */
25 
26 #define MSGPACK_COMP_GCCXML MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
27 
28 #if defined(__GCCXML__)
29 # define MSGPACK_COMP_GCCXML_DETECTION MSGPACK_VERSION_NUMBER_AVAILABLE
30 #endif
31 
32 #ifdef MSGPACK_COMP_GCCXML_DETECTION
33 # if defined(MSGPACK_PREDEF_DETAIL_COMP_DETECTED)
34 # define MSGPACK_COMP_GCCXML_EMULATED MSGPACK_COMP_GCCXML_DETECTION
35 # else
36 # undef MSGPACK_COMP_GCCXML
37 # define MSGPACK_COMP_GCCXML MSGPACK_COMP_GCCXML_DETECTION
38 # endif
39 # define MSGPACK_COMP_GCCXML_AVAILABLE
41 #endif
42 
43 #define MSGPACK_COMP_GCCXML_NAME "GCC XML"
44 
45 #endif
46 
49 
50 #ifdef MSGPACK_COMP_GCCXML_EMULATED
52 MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_COMP_GCCXML_EMULATED,MSGPACK_COMP_GCCXML_NAME)
53 #endif
#define MSGPACK_COMP_GCCXML_NAME
Definition: gcc_xml.h:43
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition: test.h:13
#define MSGPACK_COMP_GCCXML
Definition: gcc_xml.h:26