VirtualBox

Ignore:
Timestamp:
Apr 10, 2013 3:24:23 PM (12 years ago)
Author:
vboxsync
Message:

BUGZ:4686 OS X guest: VBoxGuest device driver + VBoxService and VBoxControl now work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp

    r45356 r45459  
    4848#  include <net/if_arp.h>
    4949# endif
    50 # ifdef RT_OS_FREEBSD
     50# if defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD)
    5151#  include <ifaddrs.h> /* getifaddrs, freeifaddrs */
    5252#  include <net/if_dl.h> /* LLADDR */
     
    450450           && RT_SUCCESS(rc))
    451451    {
     452#ifdef RT_OS_DARWIN /* No ut_user->ut_session on Darwin */
     453        VBoxServiceVerbose(4, "Found entry \"%s\" (type: %d, PID: %RU32)\n",
     454                           ut_user->ut_user, ut_user->ut_type, ut_user->ut_pid);
     455#else
    452456        VBoxServiceVerbose(4, "Found entry \"%s\" (type: %d, PID: %RU32, session: %RU32)\n",
    453457                           ut_user->ut_user, ut_user->ut_type, ut_user->ut_pid, ut_user->ut_session);
     458#endif
    454459        if (cUsersInList > cListSize)
    455460        {
     
    908913    return VERR_NOT_IMPLEMENTED;
    909914
    910 #elif defined(RT_OS_FREEBSD)
     915#elif defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD)
    911916    struct ifaddrs *pIfHead = NULL;
    912917
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette