diff options
| author | Esther1024 <danishreyjavik@outlook.com> | 2025-05-22 20:38:57 +0000 |
|---|---|---|
| committer | crueter <crueter@noreply.localhost> | 2025-05-22 20:38:57 +0000 |
| commit | 15fb1f78b34ac84006069b2eeea9a9b6d612be07 (patch) | |
| tree | fe07a4d81fa0c1ad16868395794824765c6b84d5 /src/core/debugger | |
| parent | bad22328740f826c0dd6b2d60b74a7d0030c3f84 (diff) | |
fix include for boost 1.8.3+ (#121)
Co-authored-by: swurl <swurl@swurl.xyz>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/121
Co-authored-by: Esther1024 <danishreyjavik@outlook.com>
Co-committed-by: Esther1024 <danishreyjavik@outlook.com>
Diffstat (limited to 'src/core/debugger')
| -rw-r--r-- | src/core/debugger/debugger.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/core/debugger/debugger.cpp b/src/core/debugger/debugger.cpp index e86aae8460..84c846bab2 100644 --- a/src/core/debugger/debugger.cpp +++ b/src/core/debugger/debugger.cpp @@ -1,12 +1,15 @@ // SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -#include <algorithm> #include <mutex> -#include <thread> #include <boost/asio.hpp> +#include <boost/version.hpp> +#if BOOST_VERSION > 108300 && !defined(_WINDOWS) && !defined(ANDROID) +#include <boost/process/v1/async_pipe.hpp> +#else #include <boost/process/async_pipe.hpp> +#endif #include "common/logging/log.h" #include "common/polyfill_thread.h" @@ -326,7 +329,11 @@ private: struct ConnectionState { boost::asio::ip::tcp::socket client_socket; +#if BOOST_VERSION > 108300 && !defined(_WINDOWS) && !defined(ANDROID) + boost::process::v1::async_pipe signal_pipe; +#else boost::process::async_pipe signal_pipe; +#endif SignalInfo info; Kernel::KScopedAutoObject<Kernel::KThread> active_thread; |
