Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: webrtc/base/criticalsection.h

Issue 2358993004: Enable the -Wundef warning for clang (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/common.cc ('k') | webrtc/base/event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/criticalsection.h
diff --git a/webrtc/base/criticalsection.h b/webrtc/base/criticalsection.h
index 217627eefd08029cf29a6de6eb0c56c77fc881d5..bf77e2b78b64f99fc0f7ddf7299ad62d96baff0e 100644
--- a/webrtc/base/criticalsection.h
+++ b/webrtc/base/criticalsection.h
@@ -39,6 +39,8 @@
#if (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON))
#define CS_DEBUG_CHECKS 1
+#else
+#define CS_DEBUG_CHECKS 0
#endif
#if CS_DEBUG_CHECKS
« no previous file with comments | « webrtc/base/common.cc ('k') | webrtc/base/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698