From: khizmax Date: Mon, 10 Apr 2017 20:29:37 +0000 (+0300) Subject: Fixed preprocessor symbol duplication X-Git-Tag: v2.3.0~80 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=55a80861021dd2b7b2c342b48931277a035e70ba;p=libcds.git Fixed preprocessor symbol duplication --- 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)