VirtualBox

Changeset 1728 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Mar 27, 2007 12:09:49 PM (18 years ago)
Author:
vboxsync
Message:

Added missing IN_GUEST to a couple of templates.

Location:
trunk/src/VBox/Runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/init.cpp

    r1710 r1728  
    4040#include <iprt/string.h>
    4141#include <iprt/param.h>
    42 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)
     42#ifndef IN_GUEST
    4343# include <iprt/file.h>
    4444# include <VBox/sup.h>
     
    101101    /* no entry log flow, because prefixes and thread may freak out. */
    102102
    103 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)
     103#ifndef IN_GUEST
    104104# ifdef VBOX
    105105    /*
     
    117117    }
    118118# endif  /* VBOX */
    119 #endif /* !IN_GUEST and !IN_GUEST_R3 */
     119#endif /* !IN_GUEST */
    120120
    121121    /*
     
    131131    }
    132132
    133 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)
     133#ifndef IN_GUEST
    134134    if (fInitSUPLib)
    135135    {
     
    148148    g_u64ProgramStartMilliTS = RTTimeMilliTS();
    149149
    150 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)
     150#ifndef IN_GUEST
    151151    /*
    152152     * The threading is initialized we can safely sleep a bit if GIP
  • trunk/src/VBox/Runtime/timesup.cpp

    r1710 r1728  
    3636*   Global Variables                                                           *
    3737*******************************************************************************/
    38 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)
     38#ifndef IN_GUEST
    3939/** The previously returned nano TS.
    4040 * This handles TSC drift on SMP systems and expired interval.
     
    6363DECLINLINE(uint64_t) rtTimeNanoTSInternal(void)
    6464{
    65 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)
     65#ifndef IN_GUEST
    6666    uint64_t    u64Delta;
    6767    uint32_t    u32NanoTSFactor0;
     
    202202
    203203    return u64;
    204 #else /* IN_GUEST || IN_GUEST_R3 */
     204#else /* IN_GUEST */
    205205    return RTTimeSystemNanoTS();
    206 #endif /* IN_GUEST || IN_GUEST_R3 */
     206#endif /* IN_GUEST */
    207207}
    208208
     
    230230
    231231
    232 #if !defined(IN_GUEST) && !defined(IN_GUEST_R3)
     232#ifndef IN_GUEST
    233233/**
    234234 * Debugging the time api.
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