VirtualBox

Changeset 31337 in vbox for trunk/src/VBox/Main/solaris


Ignore:
Timestamp:
Aug 3, 2010 2:05:05 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64376
Message:

Main/Solaris: New DVD drive enumeration, works on Solaris 10 & Nevada. Removed now obsolete NSL_RESOLVED stuff on Solaris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/solaris/NetIf-solaris.cpp

    r28962 r31337  
    4141#include <limits.h>
    4242#include <stdio.h>
    43 #ifdef VBOX_SOLARIS_NSL_RESOLVED
    44 # include <libdevinfo.h>
    45 #endif
     43#include <libdevinfo.h>
    4644#include <net/if.h>
    4745#include <sys/socket.h>
     
    272270}
    273271
    274 # ifdef VBOX_SOLARIS_NSL_RESOLVED
    275272static int vboxSolarisAddPhysHostIface(di_node_t Node, di_minor_t Minor, void *pvHostNetworkInterfaceList)
    276273{
     
    292289    return DI_WALK_CONTINUE;
    293290}
    294 # endif /* VBOX_SOLARIS_NSL_RESOLVED */
    295291
    296292int NetIfList(std::list <ComObjPtr<HostNetworkInterface> > &list)
    297293{
    298 
    299 #  ifdef VBOX_SOLARIS_NSL_RESOLVED
    300294
    301295    /*
     
    315309    if (VBoxSolarisLibDlpiFound())
    316310        g_pfnLibDlpiWalk(vboxSolarisAddLinkHostIface, &list, 0);
    317 
    318 #  endif    /* VBOX_SOLARIS_NSL_RESOLVED */
    319311
    320312    /*
Note: See TracChangeset for help on using the changeset viewer.

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