xref: /aosp_15_r20/external/libchrome/libchrome_tools/patch/libevent.patch (revision 635a864187cb8b6c713ff48b7e790a6b21769273)
1*635a8641SAndroid Build Coastguard Worker--- /dev/null
2*635a8641SAndroid Build Coastguard Worker+++ b/base/third_party/libevent/event.h
3*635a8641SAndroid Build Coastguard Worker@@ -0,0 +1,10 @@
4*635a8641SAndroid Build Coastguard Worker+// The Chromium build contains its own checkout of libevent. This stub is used
5*635a8641SAndroid Build Coastguard Worker+// when building the Chrome OS or Android libchrome package to instead use the
6*635a8641SAndroid Build Coastguard Worker+// system headers.
7*635a8641SAndroid Build Coastguard Worker+#if defined(__ANDROID__) || defined(__ANDROID_HOST__)
8*635a8641SAndroid Build Coastguard Worker+#include <event2/event.h>
9*635a8641SAndroid Build Coastguard Worker+#include <event2/event_compat.h>
10*635a8641SAndroid Build Coastguard Worker+#include <event2/event_struct.h>
11*635a8641SAndroid Build Coastguard Worker+#else
12*635a8641SAndroid Build Coastguard Worker+#include <event.h>
13*635a8641SAndroid Build Coastguard Worker+#endif
14