From c17e63263bbd536a67c9d3a44cb83e29d6371097 Mon Sep 17 00:00:00 2001 From: MSoliankoLuxoft Date: Fri, 6 Dec 2024 01:17:51 +0200 Subject: [PATCH] Add event config for starboard (#4228) (#4456) This PR is a duplicate of PR [4228](https://github.com/youtube/cobalt/pull/4228) added as a cherry-pick to this commit [7bf0af3](https://github.com/youtube/cobalt/commit/7bf0af38b0c97e8ec7b8d572bb9de3727229bf40) b/372056053 --- third_party/libevent/event-config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/third_party/libevent/event-config.h b/third_party/libevent/event-config.h index 22c4b2e6fbf9..c4ece4041731 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(LIBEVENT_CONFIG_PLATFORM_HEADER) +#include LIBEVENT_CONFIG_PLATFORM_HEADER +#elif defined(__APPLE__) #include "third_party/libevent/mac/event-config.h" #elif defined(ANDROID) #include "third_party/libevent/android/event-config.h"