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

Unified Diff: third_party/libevent/event-config.h

Issue 646643002: Non-SFI Mode: Build libevent with PNaCl toolchain for nacl_helper_nonsfi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newlib5
Patch Set: Created 6 years, 2 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: third_party/libevent/event-config.h
diff --git a/third_party/libevent/event-config.h b/third_party/libevent/event-config.h
index d6569999e3e7cbb98b331b6c5dbf1399faf84a00..76030017d397a78cc8fae6d1ac003935ed054aa1 100644
--- a/third_party/libevent/event-config.h
+++ b/third_party/libevent/event-config.h
@@ -5,7 +5,9 @@
// This file is Chromium-specific, and brings in the appropriate
// event-config.h depending on your platform.
-#if defined(__APPLE__)
+#if defined(__native_client_nonsfi__)
+#include "nacl/event-config.h"
+#elif defined(__APPLE__)
#include "mac/event-config.h"
#elif defined(ANDROID)
#include "android/event-config.h"

Powered by Google App Engine
This is Rietveld 408576698