comparison DEPENDENCIES/generic/include/boost/predef/compiler/llvm.h @ 16:2665513ce2d3

Add boost headers
author Chris Cannam
date Tue, 05 Aug 2014 11:11:38 +0100
parents
children c530137014c0
comparison
equal deleted inserted replaced
15:663ca0da4350 16:2665513ce2d3
1 /*
2 Copyright Redshift Software, Inc. 2008-2013
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 BOOST_PREDEF_COMPILER_LLVM_H
9 #define BOOST_PREDEF_COMPILER_LLVM_H
10
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
13
14 /*`
15 [heading `BOOST_COMP_LLVM`]
16
17 [@http://en.wikipedia.org/wiki/LLVM LLVM] compiler.
18
19 [table
20 [[__predef_symbol__] [__predef_version__]]
21
22 [[`__llvm__`] [__predef_detection__]]
23 ]
24 */
25
26 #define BOOST_COMP_LLVM BOOST_VERSION_NUMBER_NOT_AVAILABLE
27
28 #if defined(__llvm__)
29 # undef BOOST_COMP_LLVM
30 # define BOOST_COMP_LLVM BOOST_VERSION_NUMBER_AVAILABLE
31 #endif
32
33 #if BOOST_COMP_LLVM
34 # define BOOST_COMP_LLVM_AVAILABLE
35 #endif
36
37 #define BOOST_COMP_LLVM_NAME "LLVM"
38
39 #include <boost/predef/detail/test.h>
40 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_LLVM,BOOST_COMP_LLVM_NAME)
41
42
43 #endif