VirtualBox

Changeset 9124 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
May 26, 2008 1:48:23 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
31247
Message:

Cleanup of the Solaris 10 detection, reducing ifdef clutter in the C files and avoid using the system namespace.

Location:
trunk/src/VBox/Devices
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Builtins.cpp

    r9113 r9124  
    203203        return rc;
    204204#endif
    205 #if defined(RT_OS_L4) || defined(RT_OS_LINUX) || defined(RT_OS_OS2) || (defined(RT_OS_SOLARIS) && !defined(__SunOS_5_10)) || defined(RT_OS_WINDOWS)
     205#if defined(RT_OS_L4) || defined(RT_OS_LINUX) || defined(RT_OS_OS2) || (defined(RT_OS_SOLARIS) && !defined(RT_OS_SOLARIS_10)) || defined(RT_OS_WINDOWS)
    206206    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostInterface);
    207207    if (VBOX_FAILURE(rc))
  • trunk/src/VBox/Devices/Makefile.kmk

    r8773 r9124  
    610610Drivers_SOURCES.solaris = \
    611611        Audio/solaudio.c \
    612         Network/DrvTAP.cpp \
     612        $(if $(VBOX_SOLARIS_10),,Network/DrvTAP.cpp) \
    613613        Storage/DrvHostBase.cpp \
    614614        Storage/DrvHostDVD.cpp
  • trunk/src/VBox/Devices/Network/DrvTAP.cpp

    r9113 r9124  
    1919 * additional information or have any questions.
    2020 */
    21 
    22 #if !defined(RT_OS_SOLARIS) || !defined(__SunOS_5_10)
    2321
    2422/*******************************************************************************
     
    10931091    NULL
    10941092};
    1095 
    1096 #endif /* !defined(RT_OS_SOLARIS) || !defined(__SunOS_5_10) */
  • trunk/src/VBox/Devices/Network/solaris/vbox-libdlpi.cpp

    r9114 r9124  
    1919 * additional information or have any questions.
    2020 */
    21 
    22 /* Solaris 10 and below has no dlpi. */
    23 #ifndef __SunOS_5_10
    2421
    2522#include "vbox-libdlpi.h"
     
    8582    }
    8683}
    87 
    88 #endif /* __SunOS_5_10 */
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