diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-07 18:16:58 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-07 18:16:58 +0000 |
commit | e97831dd75f59483cca12b7cb397bdbc0e945cd4 (patch) | |
tree | f5ec6d49617faeeaaa45c0dc08887c6587330881 /base | |
parent | 227b543c559f7d0ca172964494dce5b216f235ef (diff) | |
download | chromium_src-e97831dd75f59483cca12b7cb397bdbc0e945cd4.zip chromium_src-e97831dd75f59483cca12b7cb397bdbc0e945cd4.tar.gz chromium_src-e97831dd75f59483cca12b7cb397bdbc0e945cd4.tar.bz2 |
Allow using system libevent instead of the bundled one.
Patch by Bernard Cafarelli <voyageur@gentoo.org>
TEST=none
BUG=22140
Review URL: http://codereview.chromium.org/524061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/message_pump_libevent.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/message_pump_libevent.cc b/base/message_pump_libevent.cc index 04ea2ab..01ebee5 100644 --- a/base/message_pump_libevent.cc +++ b/base/message_pump_libevent.cc @@ -13,7 +13,11 @@ #include "base/scoped_nsautorelease_pool.h" #include "base/scoped_ptr.h" #include "base/time.h" +#if defined(USE_SYSTEM_LIBEVENT) +#include <event.h> +#else #include "third_party/libevent/event.h" +#endif // Lifecycle of struct event // Libevent uses two main data structures: |