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

Unified Diff: webrtc/common_types.h

Issue 2358993004: Enable the -Wundef warning for clang (Closed)
Patch Set: manual changes 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
Index: webrtc/common_types.h
diff --git a/webrtc/common_types.h b/webrtc/common_types.h
index b8c0df4b081a7e00a80ab291c4f3dbff327ee4b0..b1842ef59598e78e86f99f71d495661b0d1a9483 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -27,9 +27,9 @@
#pragma warning(disable : 4351)
#endif
-#ifdef WEBRTC_EXPORT
+#if defined(WEBRTC_EXPORT)
#define WEBRTC_DLLEXPORT _declspec(dllexport)
-#elif WEBRTC_DLL
+#elif defined(WEBRTC_DLL)
#define WEBRTC_DLLEXPORT _declspec(dllimport)
#else
#define WEBRTC_DLLEXPORT

Powered by Google App Engine
This is Rietveld 408576698