VirtualBox

Changeset 18634 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 2, 2009 12:47:58 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
45551
Message:

Guest Additions/common: Compile fixes for Windows platforms.

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

Legend:

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

    r18320 r18634  
    55
    66/*
    7  * Copyright (C) 2007 Sun Microsystems, Inc.
     7 * Copyright (C) 2009 Sun Microsystems, Inc.
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    9696    RTPrintf("\n"
    9797             "Options:\n"
     98#if !defined(RT_OS_WINDOWS)
    9899             "    -f | --foreground   Don't daemonzie the program. For debugging.\n"
     100#endif
    99101             "    -v | --verbose      Increment the verbosity level. For debugging.\n"
    100102             "    -i | --interval     The default interval.\n"
     
    107109    }
    108110    RTPrintf("\n"
    109              " Copyright (C) 2008 Sun Microsystems, Inc.\n");
     111             " Copyright (C) 2009 Sun Microsystems, Inc.\n");
    110112
    111113    return 1;
     
    368370        return VBoxServiceError("VbglR3Init failed with rc=%Rrc.\n", rc);
    369371
     372#if !defined(RT_OS_WINDOWS)
    370373    /*
    371374     * Daemonize if requested.
     
    379382        /* in-child */
    380383    }
     384#endif
    381385
    382386/** @todo Make the main thread responsive to signal so it can shutdown/restart the threads on non-SIGKILL signals. */
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceTimeSync.cpp

    r8155 r18634  
    232232                {
    233233                    /*
    234                      * The drift is to big, we have to make adjustments. :-/
     234                     * The drift is too big, we have to make adjustments. :-/
    235235                     * If we've got adjtime around, try that first - most
    236236                     * *NIX systems have it. Fall back on settimeofday.
    237237                     */
    238238#ifdef RT_OS_WINDOWS
    239                     /* just make sure it compiles for now, but later:
     239                    /* Just make sure it compiles for now, but later:
    240240                     SetSystemTimeAdjustment and fall back on SetSystemTime.
    241241                     */
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