- Consistently check for KDBG via if-def, not if (like we do for _WINKD_), everywhere.

svn path=/trunk/; revision=69152
This commit is contained in:
Stefan Ginsberg 2015-09-09 16:06:38 +00:00
parent 27792fe58c
commit c1c6314688
5 changed files with 8 additions and 8 deletions

View file

@ -45,7 +45,7 @@ KdRosDumpStackFrames(
KdSystemDebugControl('DsoR', Backtrace, Count, 0, 0, 0, 0);
}
#if KDBG
#if defined(KDBG)
FORCEINLINE
VOID
KdRosRegisterCliCallback(

View file

@ -36,7 +36,7 @@ KdPortPutByteEx(
#if defined(KDBG) || DBG
#if KDBG
#if defined(KDBG)
typedef
BOOLEAN
(NTAPI *PKDBG_CLI_ROUTINE)(

View file

@ -100,7 +100,7 @@ KdpServiceDispatcher(ULONG Service,
break;
}
#if KDBG
#if defined(KDBG)
/* Register KDBG CLI callback */
case 'RbdK':
{

View file

@ -464,7 +464,7 @@ ExpComputePartialHashForAddress(IN PVOID BaseAddress)
VOID
NTAPI
INIT_FUNCTION
INIT_SECTION
ExpSeedHotTags(VOID)
{
ULONG i, Key, Hash, Index;
@ -794,7 +794,7 @@ ExpInsertPoolTracker(IN ULONG Key,
VOID
NTAPI
INIT_FUNCTION
INIT_SECTION
ExInitializePoolDescriptor(IN PPOOL_DESCRIPTOR PoolDescriptor,
IN POOL_TYPE PoolType,
IN ULONG PoolIndex,
@ -845,7 +845,7 @@ ExInitializePoolDescriptor(IN PPOOL_DESCRIPTOR PoolDescriptor,
VOID
NTAPI
INIT_FUNCTION
INIT_SECTION
InitializePool(IN POOL_TYPE PoolType,
IN ULONG Threshold)
{
@ -2669,7 +2669,7 @@ ExAllocatePoolWithQuotaTag(IN POOL_TYPE PoolType,
return Buffer;
}
#if DBG && KDBG
#if DBG && defined(KDBG)
BOOLEAN
ExpKdbgExtPool(

View file

@ -255,7 +255,7 @@ InitProcessCallback(PEPROCESS Process)
#if DBG
DbgInitDebugChannels();
#if KDBG
#if defined(KDBG)
KdRosRegisterCliCallback(DbgGdiKdbgCliCallback);
#endif
#endif