mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2025-12-06 05:32:00 +01:00
Merge pull request #649 from shawnchain/fix-osx-error-bg5hhp
Fix osx compile error
This commit is contained in:
commit
424407cb82
|
|
@ -92,7 +92,7 @@ void CNetworkInfo::getNetworkInterface(unsigned char* info)
|
|||
::fclose(fp);
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__APPLE__)
|
||||
const int mib[] = {
|
||||
int mib[] = {
|
||||
CTL_NET,
|
||||
PF_ROUTE,
|
||||
0, // protocol
|
||||
|
|
|
|||
Loading…
Reference in a new issue