diff --git a/include/sled/lang/attributes.h b/include/sled/lang/attributes.h index 2702cf7..ca29caf 100644 --- a/include/sled/lang/attributes.h +++ b/include/sled/lang/attributes.h @@ -26,7 +26,7 @@ #define PT_GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x)) -#else +#else// defined(__clang__) #define EXCLUSIVE_TRYLOCK_FUNCTION(...) THREAD_ANNOTATION_ATTRIBUTE__(exclusive_trylock(__VA_ARGS__)) #define EXCLUSIVE_LOCK_FUNCTION(...) THREAD_ANNOTATION_ATTRIBUTE__(exclusive_lock(__VA_ARGS__))