VirtualBox

Changeset 33398 in vbox


Ignore:
Timestamp:
Oct 24, 2010 4:33:54 PM (14 years ago)
Author:
vboxsync
Message:

Main: Some OS/2 build fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HostImpl.cpp

    r33232 r33398  
    10561056    if (FAILED(autoCaller.rc())) return autoCaller.rc();
    10571057
     1058#ifdef VBOX_WITH_HOSTNETIF_API
    10581059    /* No need to lock anything. If there ever will - watch out, the function
    10591060     * called below grabs the VirtualBox lock. */
     
    10641065
    10651066    return r == VERR_NOT_IMPLEMENTED ? E_NOTIMPL : E_FAIL;
     1067#else
     1068    return E_NOTIMPL;
     1069#endif
    10661070}
    10671071
     
    10741078    if (FAILED(autoCaller.rc())) return autoCaller.rc();
    10751079
     1080#ifdef VBOX_WITH_HOSTNETIF_API
    10761081    /* No need to lock anything, the code below does not touch the state
    10771082     * of the host object. If that ever changes then check for lock order
     
    10931098
    10941099    return r == VERR_NOT_IMPLEMENTED ? E_NOTIMPL : E_FAIL;
     1100#else
     1101    return E_NOTIMPL;
     1102#endif
    10951103}
    10961104
     
    13731381                                                   ComSafeArrayOut(IHostNetworkInterface *, aNetworkInterfaces))
    13741382{
     1383#ifdef VBOX_WITH_HOSTNETIF_API
    13751384    std::list <ComObjPtr<HostNetworkInterface> > allList;
    13761385    int rc = NetIfList(allList);
     
    13991408
    14001409    return S_OK;
     1410#else
     1411    return E_NOTIMPL;
     1412#endif
    14011413}
    14021414
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