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

Unified Diff: webrtc/base/common.cc

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/bitbuffer_unittest.cc ('k') | webrtc/base/criticalsection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/common.cc
diff --git a/webrtc/base/common.cc b/webrtc/base/common.cc
index c6f1b75312832a8fdf08a391ddd6306995148e02..07eb0b1c339d6db1f16ce0313326744e9afb45c1 100644
--- a/webrtc/base/common.cc
+++ b/webrtc/base/common.cc
@@ -13,7 +13,7 @@
#include <stdio.h>
#include <string.h>
-#if WEBRTC_WIN
+#ifdef WEBRTC_WIN
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif // WEBRTC_WIN
@@ -33,7 +33,7 @@
namespace rtc {
void Break() {
-#if WEBRTC_WIN
+#ifdef WEBRTC_WIN
::DebugBreak();
#else // !WEBRTC_WIN
// On POSIX systems, SIGTRAP signals debuggers to break without killing the
« no previous file with comments | « webrtc/base/bitbuffer_unittest.cc ('k') | webrtc/base/criticalsection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698