VirtualBox

Changeset 46506 in vbox for trunk


Ignore:
Timestamp:
Jun 12, 2013 9:05:32 AM (12 years ago)
Author:
vboxsync
Message:

Additions/VBoxService: Don't use VBOX_WITH_PAGE_SHARING here as this is a global defined symbol (VBox/param.h). Fixed warning.

Location:
trunk/src/VBox/Additions/common/VBoxService
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk

    r46147 r46506  
    5252endif
    5353if1of ($(KBUILD_TARGET), win)
    54  VBoxService_DEFS        += VBOX_WITH_PAGE_SHARING
     54 VBoxService_DEFS        += VBOXSERVICE_PAGE_SHARING
    5555 ifdef VBOX_WITH_MMR
    5656  VBoxService_DEFS       += VBOX_WITH_MMR
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp

    r46326 r46506  
    131131    { &g_VMStatistics,  NIL_RTTHREAD, false, false, false, false, true },
    132132#endif
    133 #if defined(VBOX_WITH_PAGE_SHARING) && defined(RT_OS_WINDOWS)
     133#if defined(VBOXSERVICE_PAGE_SHARING)
    134134    { &g_PageSharing,   NIL_RTTHREAD, false, false, false, false, true },
    135135#endif
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp

    r45697 r46506  
    16011601     * Prepare environment variables list.
    16021602     */
    1603     char **papszEnv;
     1603    char **papszEnv = NULL;
    16041604    uint32_t uNumEnvVars = 0; /* Initialize in case of failing ... */
    16051605    if (RT_SUCCESS(rc))
     
    16401640     */
    16411641    RTENV hEnv;
    1642     rc = RTEnvClone(&hEnv, RTENV_DEFAULT);
     1642    if (RT_SUCCESS(rc))
     1643        rc = RTEnvClone(&hEnv, RTENV_DEFAULT);
    16431644    if (RT_SUCCESS(rc))
    16441645    {
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h

    r44863 r46506  
    164164extern VBOXSERVICE  g_VMStatistics;
    165165#endif
    166 #ifdef VBOX_WITH_PAGE_SHARING
     166#ifdef VBOXSERVICE_PAGE_SHARING
    167167extern VBOXSERVICE  g_PageSharing;
    168168#endif
     
    204204extern uint32_t                 VBoxServiceBalloonQueryPages(uint32_t cbPage);
    205205#endif
    206 #if defined(VBOX_WITH_PAGE_SHARING) && defined(RT_OS_WINDOWS)
     206#if defined(VBOXSERVICE_PAGE_SHARING)
    207207extern RTEXITCODE               VBoxServicePageSharingInitFork(void);
    208208#endif
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