MessagePack for C
intel.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_INTEL_H
9 #define MSGPACK_PREDEF_COMPILER_INTEL_H
10 
12 #include <msgpack/predef/make.h>
13 
14 /*`
15 [heading `MSGPACK_COMP_INTEL`]
16 
17 [@http://en.wikipedia.org/wiki/Intel_C%2B%2B Intel C/C++] compiler.
18 Version number available as major, minor, and patch.
19 
20 [table
21  [[__predef_symbol__] [__predef_version__]]
22 
23  [[`__INTEL_COMPILER`] [__predef_detection__]]
24  [[`__ICL`] [__predef_detection__]]
25  [[`__ICC`] [__predef_detection__]]
26  [[`__ECC`] [__predef_detection__]]
27 
28  [[`__INTEL_COMPILER`] [V.R.P]]
29  ]
30  */
31 
32 #define MSGPACK_COMP_INTEL MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
33 
34 #if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
35  defined(__ECC)
36 # if !defined(MSGPACK_COMP_INTEL_DETECTION) && defined(__INTEL_COMPILER)
37 # define MSGPACK_COMP_INTEL_DETECTION MSGPACK_PREDEF_MAKE_10_VRP(__INTEL_COMPILER)
38 # endif
39 # if !defined(MSGPACK_COMP_INTEL_DETECTION)
40 # define MSGPACK_COMP_INTEL_DETECTION MSGPACK_VERSION_NUMBER_AVAILABLE
41 # endif
42 #endif
43 
44 #ifdef MSGPACK_COMP_INTEL_DETECTION
45 # if defined(MSGPACK_PREDEF_DETAIL_COMP_DETECTED)
46 # define MSGPACK_COMP_INTEL_EMULATED MSGPACK_COMP_INTEL_DETECTION
47 # else
48 # undef MSGPACK_COMP_INTEL
49 # define MSGPACK_COMP_INTEL MSGPACK_COMP_INTEL_DETECTION
50 # endif
51 # define MSGPACK_COMP_INTEL_AVAILABLE
53 #endif
54 
55 #define MSGPACK_COMP_INTEL_NAME "Intel C/C++"
56 
57 #endif
58 
61 
62 #ifdef MSGPACK_COMP_INTEL_EMULATED
64 MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_COMP_INTEL_EMULATED,MSGPACK_COMP_INTEL_NAME)
65 #endif
#define MSGPACK_COMP_INTEL_NAME
Definition: intel.h:55
#define MSGPACK_COMP_INTEL
Definition: intel.h:32
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition: test.h:13