Changeset 1906 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 4, 2007 1:40:36 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 20156
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HostImpl.cpp
r1762 r1906 60 60 #include "Logging.h" 61 61 62 #ifdef __DARWIN__ 63 #include "darwin/iokit.h" 64 #endif 65 62 66 #ifdef __WIN__ 63 67 #include "HostNetworkInterfaceImpl.h" … … 226 230 parseMountTable((char*)"/etc/fstab", list); 227 231 } 232 #elif defined(__DARWIN__) 233 PDARWINDVD cur = DarwinGetDVDDrives(); 234 while (cur) 235 { 236 ComObjPtr<HostDVDDrive> hostDVDDriveObj; 237 hostDVDDriveObj.createObject(); 238 hostDVDDriveObj->init(Bstr(cur->szName)); 239 list.push_back(hostDVDDriveObj); 240 241 /* next */ 242 void *freeMe = cur; 243 cur = cur->pNext; 244 RTMemFree(freeMe); 245 } 246 228 247 #else 229 248 /* PORTME */ -
trunk/src/VBox/Main/Makefile
r1872 r1906 182 182 endif 183 183 184 VBoxSVC_SOURCES.darwin = \ 185 darwin/iokit.cpp 186 184 187 VBoxSVC_SOURCES.win = \ 185 188 HostNetworkInterfaceImpl.cpp \ … … 198 201 endif 199 202 203 VBoxSVC_LDFLAGS.darwin = -framework IOKit 200 204 ifeq ($(BUILD_TYPE),debug) 201 205 VBoxSVC_LDFLAGS.linux += -rdynamic # for backtrace_symbols() … … 466 470 ## @todo Figure out why Linux really needs this, darwin doesn't... 467 471 xpcom-components_INST = $(INST_BIN)components/ 468 ifeq ($(BUILD_TARGET),linux) 472 ifeq ($(BUILD_TARGET),linux) 469 473 xpcom-components_SYMLINKS = \ 470 474 VirtualBox_XPCOM.xpt=>../VirtualBox_XPCOM.xpt \
Note:
See TracChangeset
for help on using the changeset viewer.