[NTOSKRNL]
authorPierre Schweitzer <pierre@reactos.org>
Fri, 28 Aug 2015 06:19:31 +0000 (06:19 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Fri, 28 Aug 2015 06:19:31 +0000 (06:19 +0000)
Fix build

svn path=/trunk/; revision=68842

reactos/ntoskrnl/ke/i386/traphdlr.c

index 16401ad..b9c339b 100644 (file)
@@ -1277,11 +1277,13 @@ KiTrap0EHandler(IN PKTRAP_FRAME TrapFrame)
                            TrapFrame);
     if (NT_SUCCESS(Status))
     {
+#ifdef _WINKD_
         /*
          * We succeeded. Check whether the kernel debugger has
          * owed breakpoints to be inserted, then return.
          */
         KdSetOwedBreakpoints();
+#endif
         KiEoiHelper(TrapFrame);
     }