comparison DEPENDENCIES/generic/include/boost/predef/architecture/x86.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_ARCHITECTURE_X86_H
9 #define BOOST_PREDEF_ARCHITECTURE_X86_H
10
11 #include <boost/predef/architecture/x86/32.h>
12 #include <boost/predef/architecture/x86/64.h>
13
14 /*`
15 [heading `BOOST_ARCH_X86`]
16
17 [@http://en.wikipedia.org/wiki/X86 Intel x86] architecture. This is
18 a category to indicate that either `BOOST_ARCH_X86_32` or
19 `BOOST_ARCH_X86_64` is detected.
20 */
21
22 #define BOOST_ARCH_X86 BOOST_VERSION_NUMBER_NOT_AVAILABLE
23
24 #if BOOST_ARCH_X86_32 || BOOST_ARCH_X86_64
25 # undef BOOST_ARCH_X86
26 # define BOOST_ARCH_X86 BOOST_VERSION_NUMBER_AVAILABLE
27 #endif
28
29 #if BOOST_ARCH_X86
30 # define BOOST_ARCH_X86_AVAILABLE
31 #endif
32
33 #define BOOST_ARCH_X86_NAME "Intel x86"
34
35 #include <boost/predef/detail/test.h>
36 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_X86,BOOST_ARCH_X86_NAME)
37
38 #endif