Changeset 45459 in vbox for trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
- Timestamp:
- Apr 10, 2013 3:24:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
r45356 r45459 48 48 # include <net/if_arp.h> 49 49 # endif 50 # if def RT_OS_FREEBSD50 # if defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD) 51 51 # include <ifaddrs.h> /* getifaddrs, freeifaddrs */ 52 52 # include <net/if_dl.h> /* LLADDR */ … … 450 450 && RT_SUCCESS(rc)) 451 451 { 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 452 456 VBoxServiceVerbose(4, "Found entry \"%s\" (type: %d, PID: %RU32, session: %RU32)\n", 453 457 ut_user->ut_user, ut_user->ut_type, ut_user->ut_pid, ut_user->ut_session); 458 #endif 454 459 if (cUsersInList > cListSize) 455 460 { … … 908 913 return VERR_NOT_IMPLEMENTED; 909 914 910 #elif defined(RT_OS_ FREEBSD)915 #elif defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD) 911 916 struct ifaddrs *pIfHead = NULL; 912 917
Note:
See TracChangeset
for help on using the changeset viewer.