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

Unified Diff: net/socket/tcp_client_socket_libevent.cc

Issue 524061: Allow using system libevent instead of the bundled one. (Closed)
Patch Set: nitfixing Created 10 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
Index: net/socket/tcp_client_socket_libevent.cc
diff --git a/net/socket/tcp_client_socket_libevent.cc b/net/socket/tcp_client_socket_libevent.cc
index 1321d0055ae40d7547ffb56cb28d28c0783b921f..107a18b98c99bb00c5303604c43141cd7749a09f 100644
--- a/net/socket/tcp_client_socket_libevent.cc
+++ b/net/socket/tcp_client_socket_libevent.cc
@@ -16,8 +16,11 @@
#include "net/base/io_buffer.h"
#include "net/base/load_log.h"
#include "net/base/net_errors.h"
+#if defined(USE_SYSTEM_LIBEVENT)
+#include <event.h>
+#else
#include "third_party/libevent/event.h"
-
+#endif
namespace net {
« AUTHORS ('K') | « net/base/telnet_server.cc ('k') | third_party/libevent/libevent.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698