VirtualBox

Changeset 76557 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Jan 1, 2019 2:37:24 AM (6 years ago)
Author:
vboxsync
Message:

include/iprt: Use IPRT_INCLUDED_ rather than _iprt_ as header guard prefix, letting scm enforce this (thereby avoiding copy&paste errors like rsa.h).

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmcritsect.h

    r76553 r76557  
    9090/* Strict build: Remap the two enter calls to the debug versions. */
    9191#ifdef VBOX_STRICT
    92 # ifdef ___iprt_asm_h
     92# ifdef IPRT_INCLUDED_asm_h
    9393#  define PDMCritSectEnter(pCritSect, rcBusy)   PDMCritSectEnterDebug((pCritSect), (rcBusy), (uintptr_t)ASMReturnAddress(), RT_SRC_POS)
    9494#  define PDMCritSectTryEnter(pCritSect)        PDMCritSectTryEnterDebug((pCritSect), (uintptr_t)ASMReturnAddress(), RT_SRC_POS)
  • trunk/include/VBox/vmm/pdmcritsectrw.h

    r76553 r76557  
    8181/* Lock strict build: Remap the three enter calls to the debug versions. */
    8282#ifdef VBOX_STRICT
    83 # ifdef ___iprt_asm_h
     83# ifdef IPRT_INCLUDED_asm_h
    8484#  define PDMCritSectRwEnterExcl(pCritSect, rcBusy)     PDMCritSectRwEnterExclDebug(pCritSect, rcBusy, (uintptr_t)ASMReturnAddress(), RT_SRC_POS)
    8585#  define PDMCritSectRwTryEnterExcl(pCritSect)          PDMCritSectRwTryEnterExclDebug(pCritSect, (uintptr_t)ASMReturnAddress(), RT_SRC_POS)
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