#ifndef BOOST_ATOMIC_DETAIL_PLATFORM_HPP #define BOOST_ATOMIC_DETAIL_PLATFORM_HPP // Copyright (c) 2009 Helge Bahmann // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // Platform selection file #include #ifdef BOOST_ATOMIC_HAS_PRAGMA_ONCE #pragma once #endif #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) #include #elif 0 && defined(__GNUC__) && defined(__alpha__) /* currently does not work correctly */ #include #include #elif defined(__GNUC__) && (defined(__POWERPC__) || defined(__PPC__)) #include // This list of ARM architecture versions comes from Apple's arm/arch.h header. // I don't know how complete it is. #elif defined(__GNUC__) && (defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) \ || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) \ || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_7A__)) #include #elif defined(__linux__) && defined(__arm__) #include #elif defined(__GNUC__) && defined(__sparc_v9__) #include #elif defined(BOOST_WINDOWS) || defined(_WIN32_CE) #include #elif 0 && defined(__GNUC__) /* currently does not work correctly */ #include #include #else #include #endif #endif