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

Unified Diff: webrtc/typedefs.h

Issue 2657823004: Only define NO_RETURN if undefined (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/typedefs.h
diff --git a/webrtc/typedefs.h b/webrtc/typedefs.h
index 65aa1aded57c5712dcf6a4c6d612249b8df01aa3..16e10c5ea14590bc78815a6a2e4486863b8f9fa5 100644
--- a/webrtc/typedefs.h
+++ b/webrtc/typedefs.h
@@ -98,6 +98,7 @@
#endif
#endif
+#ifndef NO_RETURN
tommi 2017/01/27 23:21:58 Looks like NO_RETURN is only used in base/checks.*
// Annotate a function that will not return control flow to the caller.
#if defined(_MSC_VER)
#define NO_RETURN __declspec(noreturn)
@@ -106,5 +107,6 @@
#else
#define NO_RETURN
#endif
+#endif
#endif // WEBRTC_TYPEDEFS_H_
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698