Index: webrtc/base/criticalsection.h |
diff --git a/webrtc/base/criticalsection.h b/webrtc/base/criticalsection.h |
index ddbf857f2b15cc49bca4c13e72a011fcc4b7d87b..5b3eaf56840cd1698701ac1669ccca9b3763c0b4 100644 |
--- a/webrtc/base/criticalsection.h |
+++ b/webrtc/base/criticalsection.h |
@@ -89,7 +89,7 @@ class TryCritScope { |
#if defined(WEBRTC_WIN) |
_Check_return_ bool locked() const; |
#else |
- bool locked() const __attribute__((warn_unused_result)); |
+ bool locked() const __attribute__ ((__warn_unused_result__)); |
#endif |
private: |
CriticalSection* const cs_; |