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

Unified Diff: webrtc/base/httpclient.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/gunit.h ('k') | webrtc/base/httpcommon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/httpclient.h
diff --git a/webrtc/base/httpclient.h b/webrtc/base/httpclient.h
index 0c19d2efb4353dedea37a674c51fff0bcd6df24b..569ff04ed83924a5ad0a684db2d96a3ae8245554 100644
--- a/webrtc/base/httpclient.h
+++ b/webrtc/base/httpclient.h
@@ -51,7 +51,7 @@ class SignalThread;
// What to do: Define STRICT_HTTP_ERROR=1 in your makefile. Use HttpError in
// your code (HttpErrorType should only be used for code that is shared
// with groups which have not yet migrated).
-#if STRICT_HTTP_ERROR
+#if defined(STRICT_HTTP_ERROR) && STRICT_HTTP_ERROR
typedef HttpError HttpErrorType;
#else // !STRICT_HTTP_ERROR
typedef int HttpErrorType;
« no previous file with comments | « webrtc/base/gunit.h ('k') | webrtc/base/httpcommon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698