Core/HW: Enable BBA (IPC) in FreeBSD.

Since v1.4.0, cpp-ipc now supports FreeBSD. This was a limitation that
prevented us from enabling compilation on FreeBSD in #13870.

Full changelog: https://github.com/mutouyun/cpp-ipc/releases/tag/v1.4.0
This commit is contained in:
cristian64 2025-12-10 21:11:08 +00:00
parent 355bca0fb3
commit bd6ea9a9a1
4 changed files with 5 additions and 5 deletions

View File

@ -786,7 +786,7 @@ endif()
add_subdirectory(Externals/watcher)
if(WIN32 OR LINUX)
if(NOT ANDROID AND NOT APPLE)
add_subdirectory(Externals/cpp-ipc)
endif()

View File

@ -801,7 +801,7 @@ if(UNIX)
)
endif()
if(WIN32 OR LINUX)
if(NOT ANDROID AND NOT APPLE)
target_sources(core PRIVATE HW/EXI/BBA/IPC.cpp)
target_link_libraries(core PRIVATE cpp-ipc::ipc)
endif()

View File

@ -15,7 +15,7 @@
#endif
#include <SFML/Network.hpp>
#if defined(WIN32) || (defined(__linux__) && !defined(__ANDROID__))
#if !defined(__ANDROID__) && !defined(__APPLE__)
#include <libipc/ipc.h>
#endif
@ -483,7 +483,7 @@ private:
public:
explicit IPCBBAInterface(CEXIETHERNET* const eth_ref) : NetworkInterface(eth_ref) {}
#if defined(WIN32) || (defined(__linux__) && !defined(__ANDROID__))
#if !defined(__ANDROID__) && !defined(__APPLE__)
bool Activate() override;
void Deactivate() override;

View File

@ -143,7 +143,7 @@ void GameCubePane::CreateWidgets()
EXIDeviceType::EthernetXLink,
EXIDeviceType::EthernetTapServer,
EXIDeviceType::EthernetBuiltIn,
#if defined(WIN32) || (defined(__linux__) && !defined(__ANDROID__))
#if !defined(__APPLE__)
EXIDeviceType::EthernetIPC,
#endif
EXIDeviceType::ModemTapServer,