Chris@16
|
1 /*
|
Chris@101
|
2 Copyright Rene Rivera 2008-2014
|
Chris@16
|
3 Distributed under the Boost Software License, Version 1.0.
|
Chris@16
|
4 (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
5 http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
6 */
|
Chris@16
|
7
|
Chris@16
|
8 #ifndef BOOST_PREDEF_COMPILER_INTEL_H
|
Chris@16
|
9 #define BOOST_PREDEF_COMPILER_INTEL_H
|
Chris@16
|
10
|
Chris@16
|
11 #include <boost/predef/version_number.h>
|
Chris@16
|
12 #include <boost/predef/make.h>
|
Chris@16
|
13
|
Chris@16
|
14 /*`
|
Chris@16
|
15 [heading `BOOST_COMP_INTEL`]
|
Chris@16
|
16
|
Chris@16
|
17 [@http://en.wikipedia.org/wiki/Intel_C%2B%2B Intel C/C++] compiler.
|
Chris@16
|
18 Version number available as major, minor, and patch.
|
Chris@16
|
19
|
Chris@16
|
20 [table
|
Chris@16
|
21 [[__predef_symbol__] [__predef_version__]]
|
Chris@16
|
22
|
Chris@16
|
23 [[`__INTEL_COMPILER`] [__predef_detection__]]
|
Chris@16
|
24 [[`__ICL`] [__predef_detection__]]
|
Chris@16
|
25 [[`__ICC`] [__predef_detection__]]
|
Chris@16
|
26 [[`__ECC`] [__predef_detection__]]
|
Chris@16
|
27
|
Chris@16
|
28 [[`__INTEL_COMPILER`] [V.R.P]]
|
Chris@16
|
29 ]
|
Chris@16
|
30 */
|
Chris@16
|
31
|
Chris@16
|
32 #define BOOST_COMP_INTEL BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
Chris@16
|
33
|
Chris@16
|
34 #if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
|
Chris@16
|
35 defined(__ECC)
|
Chris@101
|
36 # if !defined(BOOST_COMP_INTEL_DETECTION) && defined(__INTEL_COMPILER)
|
Chris@101
|
37 # define BOOST_COMP_INTEL_DETECTION BOOST_PREDEF_MAKE_10_VRP(__INTEL_COMPILER)
|
Chris@16
|
38 # endif
|
Chris@101
|
39 # if !defined(BOOST_COMP_INTEL_DETECTION)
|
Chris@101
|
40 # define BOOST_COMP_INTEL_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
|
Chris@16
|
41 # endif
|
Chris@16
|
42 #endif
|
Chris@16
|
43
|
Chris@101
|
44 #ifdef BOOST_COMP_INTEL_DETECTION
|
Chris@101
|
45 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
|
Chris@101
|
46 # define BOOST_COMP_INTEL_EMULATED BOOST_COMP_INTEL_DETECTION
|
Chris@101
|
47 # else
|
Chris@101
|
48 # undef BOOST_COMP_INTEL
|
Chris@101
|
49 # define BOOST_COMP_INTEL BOOST_COMP_INTEL_DETECTION
|
Chris@101
|
50 # endif
|
Chris@16
|
51 # define BOOST_COMP_INTEL_AVAILABLE
|
Chris@101
|
52 # include <boost/predef/detail/comp_detected.h>
|
Chris@16
|
53 #endif
|
Chris@16
|
54
|
Chris@16
|
55 #define BOOST_COMP_INTEL_NAME "Intel C/C++"
|
Chris@16
|
56
|
Chris@16
|
57 #include <boost/predef/detail/test.h>
|
Chris@16
|
58 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_INTEL,BOOST_COMP_INTEL_NAME)
|
Chris@16
|
59
|
Chris@101
|
60 #ifdef BOOST_COMP_INTEL_EMULATED
|
Chris@101
|
61 #include <boost/predef/detail/test.h>
|
Chris@101
|
62 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_INTEL_EMULATED,BOOST_COMP_INTEL_NAME)
|
Chris@101
|
63 #endif
|
Chris@101
|
64
|
Chris@16
|
65
|
Chris@16
|
66 #endif
|