projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d23638c
)
Fixed preprocessor symbol duplication
author
khizmax
<libcds.dev@gmail.com>
Mon, 10 Apr 2017 20:29:37 +0000
(23:29 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Mon, 10 Apr 2017 20:29:37 +0000
(23:29 +0300)
cds/compiler/clang/defs.h
patch
|
blob
|
history
diff --git
a/cds/compiler/clang/defs.h
b/cds/compiler/clang/defs.h
index 018981692c2f59a51be9b429df35571c32c02212..246456e8a838e11a0060888047a81082d9bbcf51 100644
(file)
--- a/
cds/compiler/clang/defs.h
+++ b/
cds/compiler/clang/defs.h
@@
-107,7
+107,9
@@
// *************************************************
// Features
#if defined(__has_feature) && __has_feature(thread_sanitizer)
-# define CDS_THREAD_SANITIZER_ENABLED
+# ifndef CDS_THREAD_SANITIZER_ENABLED
+# define CDS_THREAD_SANITIZER_ENABLED
+# endif
#endif
#if defined(__has_feature) && __has_feature(address_sanitizer)