VirtualBox

Changeset 53175 in vbox


Ignore:
Timestamp:
Nov 2, 2014 12:17:39 AM (10 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

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

    r53173 r53175  
    105105    unsigned                iGroup;
    106106} RTLOGOUTPUTPREFIXEDARGS, *PRTLOGOUTPUTPREFIXEDARGS;
     107
     108#ifndef IN_RC
    107109
    108110/**
     
    174176    /** @} */
    175177
    176 #ifdef IN_RING3 /* Note! Must be at the end! */
     178# ifdef IN_RING3 /* Note! Must be at the end! */
    177179    /** @name File logging bits for the logger.
    178180     * @{ */
     
    198200    char                    szFilename[RTPATH_MAX];
    199201    /** @} */
    200 #endif /* IN_RING3 */
     202# endif /* IN_RING3 */
    201203} RTLOGGERINTERNAL;
    202204
    203205/** The revision of the internal logger structure. */
    204 #define RTLOGGERINTERNAL_REV    UINT32_C(10)
    205 
    206 #ifdef IN_RING3
     206# define RTLOGGERINTERNAL_REV    UINT32_C(10)
     207
     208# ifdef IN_RING3
    207209/** The size of the RTLOGGERINTERNAL structure in ring-0.  */
    208 # define RTLOGGERINTERNAL_R0_SIZE       RT_OFFSETOF(RTLOGGERINTERNAL, pfnPhase)
     210#  define RTLOGGERINTERNAL_R0_SIZE       RT_OFFSETOF(RTLOGGERINTERNAL, pfnPhase)
    209211AssertCompileMemberAlignment(RTLOGGERINTERNAL, hFile, sizeof(void *));
    210212AssertCompileMemberAlignment(RTLOGGERINTERNAL, cbHistoryFileMax, sizeof(uint64_t));
    211 #endif
     213# endif
    212214AssertCompileMemberAlignment(RTLOGGERINTERNAL, cbRingBufUnflushed, sizeof(uint64_t));
     215
     216#endif /* !IN_RC */
    213217
    214218
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