mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Fix osx compile error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user