platform.hpp
Go to the documentation of this file.
1 // Copyright (c) 2009 Helge Bahmann
2 //
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 // Platform selection file
8 
9 #include <boost/config.hpp>
10 
11 #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
12 
13  #include "detail/gcc-x86.hpp"
14 
15 #elif defined(__GNUC__) && defined(__alpha__)
16 
17  #include "detail/gcc-alpha.hpp"
18 
19 #elif defined(__GNUC__) && (defined(__POWERPC__) || defined(__PPC__))
20 
21  #include "detail/gcc-ppc.hpp"
22 
23 // This list of ARM architecture versions comes from Apple's arm/arch.h header.
24 // I don't know how complete it is.
25 #elif defined(__GNUC__) && (defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) \
26  || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) \
27  || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_7A__))
28 
29  #include "detail/gcc-armv6+.hpp"
30 
31 #elif defined(__linux__) && defined(__arm__)
32 
33  #include "detail/linux-arm.hpp"
34 
35 #elif defined(BOOST_USE_WINDOWS_H) || defined(_WIN32_CE) || defined(BOOST_MSVC) || defined(BOOST_INTEL_WIN) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
36 
37  #include "detail/interlocked.hpp"
38 
39 #elif defined(__GNUC__)
40 
41  #include "detail/gcc-cas.hpp"
42 
43 #endif


rosatomic
Author(s): Josh Faust
autogenerated on Fri Apr 5 2019 02:16:35