]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | |
2 | #ifndef BOOST_MPL_BITOR_HPP_INCLUDED | |
3 | #define BOOST_MPL_BITOR_HPP_INCLUDED | |
4 | ||
5 | // Copyright Aleksey Gurtovoy 2000-2009 | |
6 | // Copyright Jaap Suter 2003 | |
7 | // | |
8 | // Distributed under the Boost Software License, Version 1.0. | |
9 | // (See accompanying file LICENSE_1_0.txt or copy at | |
10 | // http://www.boost.org/LICENSE_1_0.txt) | |
11 | // | |
12 | // See http://www.boost.org/libs/mpl for documentation. | |
13 | ||
14 | // $Id$ | |
15 | // $Date$ | |
16 | // $Revision$ | |
17 | ||
18 | // agurt, 23/jan/10: workaround a conflict with <iso646.h> header's | |
19 | // macros, see http://tinyurl.com/ycwdxco; 'defined(bitor)' | |
20 | // has to be checked in a separate condition, otherwise GCC complains | |
21 | // about 'bitor' being an alternative token | |
22 | #if defined(_MSC_VER) && !defined(__clang__) | |
23 | #ifndef __GCCXML__ | |
24 | #if defined(bitor) | |
25 | # pragma push_macro("bitor") | |
26 | # undef bitor | |
27 | # define bitor(x) | |
28 | #endif | |
29 | #endif | |
30 | #endif | |
31 | ||
32 | #define AUX778076_OP_NAME bitor_ | |
33 | #define AUX778076_OP_PREFIX bitor | |
34 | #define AUX778076_OP_TOKEN | | |
35 | #include <boost/mpl/aux_/arithmetic_op.hpp> | |
36 | ||
37 | #if defined(_MSC_VER) && !defined(__clang__) | |
38 | #ifndef __GCCXML__ | |
39 | #if defined(bitor) | |
40 | # pragma pop_macro("bitor") | |
41 | #endif | |
42 | #endif | |
43 | #endif | |
44 | ||
45 | #endif // BOOST_MPL_BITOR_HPP_INCLUDED |