https://git.reactos.org/?p=reactos.git;a=commitdiff;h=87a625bd6c45f3244818a56e2087fc93fad04198

commit 87a625bd6c45f3244818a56e2087fc93fad04198
Author:     Serge Gautherie <[email protected]>
AuthorDate: Sat Jun 8 04:16:20 2019 +0200
Commit:     Mark Jansen <[email protected]>
CommitDate: Sat Aug 17 17:36:49 2019 +0200

    [NTOS:IO] iomgr.c: Add a missing '#if defined(KDBG)'
---
 ntoskrnl/io/iomgr/iomgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntoskrnl/io/iomgr/iomgr.c b/ntoskrnl/io/iomgr/iomgr.c
index 8d01f35079e..a9c7ba35991 100644
--- a/ntoskrnl/io/iomgr/iomgr.c
+++ b/ntoskrnl/io/iomgr/iomgr.c
@@ -584,7 +584,7 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
     /* Initialize PnP root relations */
     IopEnumerateDevice(IopRootDeviceNode->PhysicalDeviceObject);
 
-#ifndef _WINKD_
+#if !defined(_WINKD_) && defined(KDBG)
     /* Read KDB Data */
     KdbInit();
 

Reply via email to