From 55a80861021dd2b7b2c342b48931277a035e70ba Mon Sep 17 00:00:00 2001 From: khizmax Date: Mon, 10 Apr 2017 23:29:37 +0300 Subject: [PATCH] Fixed preprocessor symbol duplication --- cds/compiler/clang/defs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cds/compiler/clang/defs.h b/cds/compiler/clang/defs.h index 01898169..246456e8 100644 --- 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) -- 2.34.1