projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed Clang 3.7 + libc++ issues
[libcds.git]
/
cds
/
compiler
/
cxx11_atomic.h
diff --git
a/cds/compiler/cxx11_atomic.h
b/cds/compiler/cxx11_atomic.h
index e0fcba6aee07fa238a232556e46a390f5fedf9d0..bdaf5260c8874381230a002efc8ab8b8b0d2c8c1 100644
(file)
--- a/
cds/compiler/cxx11_atomic.h
+++ b/
cds/compiler/cxx11_atomic.h
@@
-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