VirtualBox

Changeset 76557 in vbox for trunk/src/VBox


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/src/VBox
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibInternal.h

    r76553 r76557  
    5050    /** Pointer to the session handle. */
    5151    void           *pvSession;
    52 # if defined(RT_OS_WINDOWS) && (defined(___iprt_nt_ntddk_h___) || defined(___iprt_nt_nt_h___))
     52# if defined(RT_OS_WINDOWS) && (defined(IPRT_INCLUDED_nt_ntddk_h) || defined(IPRT_INCLUDED_nt_nt_h))
    5353    /** Pointer to the NT device object. */
    5454    PDEVICE_OBJECT  pDeviceObject;
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibInternal.h

    r76553 r76557  
    9999
    100100
    101 #ifdef ___iprt_string_h
     101#ifdef IPRT_INCLUDED_string_h
    102102
    103103DECLINLINE(void) VbglHGCMParmPtrSetString(HGCMFunctionParameter *pParm, const char *psz)
     
    108108}
    109109
    110 #endif /* ___iprt_string_h */
     110#endif /* IPRT_INCLUDED_string_h */
    111111
    112112#ifdef VBOX_VBGLR3_XFREE86
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h

    r76553 r76557  
    214214extern decltype(GetSystemTimeAdjustment)       *g_pfnGetSystemTimeAdjustment;
    215215extern decltype(SetSystemTimeAdjustment)       *g_pfnSetSystemTimeAdjustment;
    216 # ifdef ___iprt_nt_nt_h___
     216# ifdef IPRT_INCLUDED_nt_nt_h
    217217extern decltype(ZwQuerySystemInformation)      *g_pfnZwQuerySystemInformation;
    218218# endif
  • trunk/src/VBox/HostDrivers/Support/SUPLibInternal.h

    r76553 r76557  
    466466DECLHIDDEN(void)    supR3HardenedWinInitImports(void);
    467467DECLHIDDEN(void)    supR3HardenedWinModifyDllSearchPath(uint32_t fFlags, const char *pszAppBinPath);
    468 # ifdef ___iprt_nt_nt_h___
     468# ifdef IPRT_INCLUDED_nt_nt_h
    469469DECLHIDDEN(void)    supR3HardenedWinGetVeryEarlyImports(uintptr_t uNtDllAddr,
    470470                                                        PFNNTWAITFORSINGLEOBJECT *ppfnNtWaitForSingleObject,
  • trunk/src/VBox/Main/cbinding/tstCAPIGlue.c

    r76553 r76557  
    4040# include <sys/poll.h>
    4141#endif
    42 #ifdef ___iprt_cdefs_h
     42#ifdef IPRT_INCLUDED_cdefs_h
    4343# error "not supposed to involve any IPRT or VBox headers here."
    4444#endif
  • trunk/src/VBox/Runtime/include/internal/path.h

    r76553 r76557  
    135135
    136136
    137 #if defined(RT_OS_WINDOWS) && defined(___iprt_fs_h) && defined(UNICODE_NULL)
     137#if defined(RT_OS_WINDOWS) && defined(IPRT_INCLUDED_fs_h) && defined(UNICODE_NULL)
    138138DECLHIDDEN(int) rtPathNtQueryInfoWorker(HANDLE hRootDir, struct _UNICODE_STRING *pNtName, PRTFSOBJINFO pObjInfo,
    139139                                        RTFSOBJATTRADD enmAdditionalAttribs, uint32_t fFlags, const char *pszPath);
  • trunk/src/VBox/Runtime/include/internal/thread.h

    r76553 r76557  
    262262#endif
    263263
    264 #ifdef ___iprt_asm_h
     264#ifdef IPRT_INCLUDED_asm_h
    265265
    266266/**
  • trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h

    r76553 r76557  
    431431 * There are some conflicting defines in iprt/param.h, sort them out here.
    432432 */
    433 #ifndef ___iprt_param_h
     433#ifndef IPRT_INCLUDED_param_h
    434434# undef PAGE_SIZE
    435435# undef PAGE_OFFSET_MASK
  • trunk/src/VBox/Runtime/r3/win/internal-r3-win.h

    r76553 r76557  
    111111typedef NTSTATUS (NTAPI *PFNNTDUPLICATETOKEN)(HANDLE, ACCESS_MASK, struct _OBJECT_ATTRIBUTES *, BOOLEAN, TOKEN_TYPE, PHANDLE);
    112112extern DECLHIDDEN(PFNNTDUPLICATETOKEN)             g_pfnNtDuplicateToken;
    113 #ifdef ___iprt_nt_nt_h___
     113#ifdef IPRT_INCLUDED_nt_nt_h
    114114extern decltype(NtAlertThread)                    *g_pfnNtAlertThread;
    115115#endif
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