[ros-diffs] [hpoussin] 50914: [ntoskrnl] Fix compilation with _WINKD_=1

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Sat Feb 26 20:00:08 UTC 2011


Author: hpoussin
Date: Sat Feb 26 20:00:08 2011
New Revision: 50914

URL: http://svn.reactos.org/svn/reactos?rev=50914&view=rev
Log:
[ntoskrnl] Fix compilation with _WINKD_=1

Modified:
    trunk/reactos/ntoskrnl/ke/i386/traphdlr.c

Modified: trunk/reactos/ntoskrnl/ke/i386/traphdlr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/traphdlr.c?rev=50914&r1=50913&r2=50914&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/traphdlr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/traphdlr.c [iso-8859-1] Sat Feb 26 20:00:08 2011
@@ -46,7 +46,7 @@
 };
 
 PFAST_SYSTEM_CALL_EXIT KiFastCallExitHandler;
-#if DBG
+#if DBG && !defined(_WINKD_)
 PKDBG_PRESERVICEHOOK KeWin32PreServiceHook = NULL;
 PKDBG_POSTSERVICEHOOK KeWin32PostServiceHook = NULL;
 #endif
@@ -1452,7 +1452,7 @@
 VOID
 KiDbgPreServiceHook(ULONG SystemCallNumber, PULONG_PTR Arguments)
 {
-#if DBG
+#if DBG && !defined(_WINKD_)
     if (SystemCallNumber >= 0x1000 && KeWin32PreServiceHook)
         KeWin32PreServiceHook(SystemCallNumber, Arguments);
 #endif
@@ -1462,7 +1462,7 @@
 ULONG_PTR
 KiDbgPostServiceHook(ULONG SystemCallNumber, ULONG_PTR Result)
 {
-#if DBG
+#if DBG && !defined(_WINKD_)
     if (SystemCallNumber >= 0x1000 && KeWin32PostServiceHook)
         return KeWin32PostServiceHook(SystemCallNumber, Result);
 #endif




More information about the Ros-diffs mailing list