Fixed Clang 3.7 + libc++ issues
[libcds.git] / cds / compiler / cxx11_atomic.h
index e0fcba6aee07fa238a232556e46a390f5fedf9d0..bdaf5260c8874381230a002efc8ab8b8b0d2c8c1 100644 (file)
@@ -114,6 +114,13 @@ namespace cds { namespace cxx11_atomic {
         {
             typedef std::uint64_t type;
         };
+#if CDS_BUILD_BITS == 64 && CDS_DCAS_SUPPORT
+        template <>
+        struct primary_type<16>
+        {
+            typedef unsigned __int128_t type;
+        };
+#endif
 
         template <typename T, typename Primary>
         struct make_atomic_primary