summaryrefslogtreecommitdiff
path: root/boost/atomic/detail/caps_gcc_sync.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/atomic/detail/caps_gcc_sync.hpp')
-rw-r--r--boost/atomic/detail/caps_gcc_sync.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/boost/atomic/detail/caps_gcc_sync.hpp b/boost/atomic/detail/caps_gcc_sync.hpp
index d797e5af64..ffbe605a1a 100644
--- a/boost/atomic/detail/caps_gcc_sync.hpp
+++ b/boost/atomic/detail/caps_gcc_sync.hpp
@@ -17,9 +17,13 @@
#define BOOST_ATOMIC_DETAIL_CAPS_GCC_SYNC_HPP_INCLUDED_
#include <boost/atomic/detail/config.hpp>
+#if defined(__i386__) || defined(__x86_64__)
#include <boost/atomic/detail/hwcaps_gcc_x86.hpp>
+#elif defined(__arm__)
#include <boost/atomic/detail/hwcaps_gcc_arm.hpp>
+#elif defined(__POWERPC__) || defined(__PPC__)
#include <boost/atomic/detail/hwcaps_gcc_ppc.hpp>
+#endif
#ifdef BOOST_HAS_PRAGMA_ONCE
#pragma once