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

Unified Diff: runtime/bin/eventhandler_android.cc

Issue 177753002: Define EPOLLRDHUP in eventhandler_android if missing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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: runtime/bin/eventhandler_android.cc
diff --git a/runtime/bin/eventhandler_android.cc b/runtime/bin/eventhandler_android.cc
index 2715a6edd1089b7b33bb8bbe71431e1ae78eee19..4d7cda3b51c91509e15b49a2584a70621f0ff6cb 100644
--- a/runtime/bin/eventhandler_android.cc
+++ b/runtime/bin/eventhandler_android.cc
@@ -25,6 +25,12 @@
#include "platform/utils.h"
+// Android doesn't define EPOLLRDHUP.
+#if !defined(EPOLLRDHUP)
+#define EPOLLRDHUP 0x2000
+#endif // !defined(EPOLLRDHUP)
+
+
namespace dart {
namespace bin {
« 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