mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 23:18:39 +00:00
[ntoskrnl] Fix compilation with _WINKD_=1
svn path=/trunk/; revision=50914
This commit is contained in:
parent
f154358da9
commit
38a3cf6ee4
1 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ UCHAR KiTrapIoTable[] =
|
|||
};
|
||||
|
||||
PFAST_SYSTEM_CALL_EXIT KiFastCallExitHandler;
|
||||
#if DBG
|
||||
#if DBG && !defined(_WINKD_)
|
||||
PKDBG_PRESERVICEHOOK KeWin32PreServiceHook = NULL;
|
||||
PKDBG_POSTSERVICEHOOK KeWin32PostServiceHook = NULL;
|
||||
#endif
|
||||
|
@ -1452,7 +1452,7 @@ FORCEINLINE
|
|||
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 @@ FORCEINLINE
|
|||
ULONG_PTR
|
||||
KiDbgPostServiceHook(ULONG SystemCallNumber, ULONG_PTR Result)
|
||||
{
|
||||
#if DBG
|
||||
#if DBG && !defined(_WINKD_)
|
||||
if (SystemCallNumber >= 0x1000 && KeWin32PostServiceHook)
|
||||
return KeWin32PostServiceHook(SystemCallNumber, Result);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue