1/*
2Copyright Rene Rivera 2008-2013
3Distributed under the Boost Software License, Version 1.0.
4(See accompanying file LICENSE_1_0.txt or copy at
5http://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
18a 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>
36BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_X86,BOOST_ARCH_X86_NAME)
37
38#endif
39