VirtualBox

Ignore:
Timestamp:
Jan 31, 2008 7:27:56 PM (17 years ago)
Author:
vboxsync
Message:

forward port from 1.5: build vditool for Linux if BUILD_TYPE=l4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/time/timesup.cpp

    r5999 r6677  
    4545*   Internal Functions                                                         *
    4646*******************************************************************************/
    47 #ifndef IN_GUEST
     47#if !defined(IN_GUEST) && !defined(RT_NO_GIP)
    4848static DECLCALLBACK(void)     rtTimeNanoTSInternalBitch(PRTTIMENANOTSDATA pData, uint64_t u64NanoTS, uint64_t u64DeltaPrev, uint64_t u64PrevNanoTS);
    4949static DECLCALLBACK(uint64_t) rtTimeNanoTSInternalFallback(PRTTIMENANOTSDATA pData);
     
    5555*   Global Variables                                                           *
    5656*******************************************************************************/
    57 #ifndef IN_GUEST
     57#if !defined(IN_GUEST) && !defined(RT_NO_GIP)
    5858/** The previous timestamp value returned by RTTimeNanoTS. */
    5959static uint64_t         g_TimeNanoTSPrev = 0;
     
    162162}
    163163
    164 #endif /* !IN_GUEST */
     164#endif /* !IN_GUEST && !RT_NO_GIP */
    165165
    166166
     
    170170DECLINLINE(uint64_t) rtTimeNanoTSInternal(void)
    171171{
    172 #ifndef IN_GUEST
     172#if !defined(IN_GUEST) && !defined(RT_NO_GIP)
    173173    return g_apfnWorkers[g_iWorker](&g_TimeNanoTSData);
    174174#else
     
    200200
    201201
    202 #ifndef IN_GUEST
     202#if !defined(IN_GUEST) && !defined(RT_NO_GIP)
    203203/**
    204204 * Debugging the time api.
     
    243243    return g_TimeNanoTSData.cUpdateRaces;
    244244}
    245 #endif
     245#endif /* !IN_GUEST && !RT_NO_GIP */
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