mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
MacOs build fix proposal.
Made on Big Sur, removing few unnecessary old specifics. Build with LLVM homebrew.
This commit is contained in:
parent
68fa377d13
commit
b6732fbae9
4 changed files with 7 additions and 55 deletions
|
@ -26,7 +26,7 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#if defined(__FreeBSD__) || defined(__APPLE__)
|
||||
#include <ifaddrs.h>
|
||||
#include <net/if_dl.h>
|
||||
#endif
|
||||
|
@ -139,7 +139,7 @@ bool np_handler::discover_ip_address()
|
|||
|
||||
bool np_handler::discover_ether_address()
|
||||
{
|
||||
#ifdef __FreeBSD__
|
||||
#if defined(__FreeBSD__) || defined(__APPLE__)
|
||||
ifaddrs* ifap;
|
||||
|
||||
if (getifaddrs(&ifap) == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue