mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-09 06:41:07 +08:00
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:
parent
355bca0fb3
commit
bd6ea9a9a1
@ -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()
|
||||
|
||||
|
||||
@ -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()
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user