]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/lockfree/detail/tagged_ptr_dcas.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / lockfree / detail / tagged_ptr_dcas.hpp
index 83718daea2bad0272f1a7a2dcd0d2db6f7ada9eb..f9223506d8f9b747e8f9e80e65f6a8dc3c988183 100644 (file)
@@ -21,7 +21,15 @@ namespace detail   {
 
 
 template <class T>
-class BOOST_ALIGNMENT(2 * sizeof(void*)) tagged_ptr
+class
+#if BOOST_COMP_MSVC && BOOST_ARCH_X86_64
+BOOST_ALIGNMENT(16)
+#elif BOOST_COMP_MSVC && BOOST_ARCH_X86_32
+BOOST_ALIGNMENT(8)
+#else
+BOOST_ALIGNMENT(2 * sizeof(void*))
+#endif
+  tagged_ptr
 {
 public:
     typedef std::size_t tag_t;