mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 18:00:41 +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;
|
PFAST_SYSTEM_CALL_EXIT KiFastCallExitHandler;
|
||||||
#if DBG
|
#if DBG && !defined(_WINKD_)
|
||||||
PKDBG_PRESERVICEHOOK KeWin32PreServiceHook = NULL;
|
PKDBG_PRESERVICEHOOK KeWin32PreServiceHook = NULL;
|
||||||
PKDBG_POSTSERVICEHOOK KeWin32PostServiceHook = NULL;
|
PKDBG_POSTSERVICEHOOK KeWin32PostServiceHook = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
@ -1452,7 +1452,7 @@ FORCEINLINE
|
||||||
VOID
|
VOID
|
||||||
KiDbgPreServiceHook(ULONG SystemCallNumber, PULONG_PTR Arguments)
|
KiDbgPreServiceHook(ULONG SystemCallNumber, PULONG_PTR Arguments)
|
||||||
{
|
{
|
||||||
#if DBG
|
#if DBG && !defined(_WINKD_)
|
||||||
if (SystemCallNumber >= 0x1000 && KeWin32PreServiceHook)
|
if (SystemCallNumber >= 0x1000 && KeWin32PreServiceHook)
|
||||||
KeWin32PreServiceHook(SystemCallNumber, Arguments);
|
KeWin32PreServiceHook(SystemCallNumber, Arguments);
|
||||||
#endif
|
#endif
|
||||||
|
@ -1462,7 +1462,7 @@ FORCEINLINE
|
||||||
ULONG_PTR
|
ULONG_PTR
|
||||||
KiDbgPostServiceHook(ULONG SystemCallNumber, ULONG_PTR Result)
|
KiDbgPostServiceHook(ULONG SystemCallNumber, ULONG_PTR Result)
|
||||||
{
|
{
|
||||||
#if DBG
|
#if DBG && !defined(_WINKD_)
|
||||||
if (SystemCallNumber >= 0x1000 && KeWin32PostServiceHook)
|
if (SystemCallNumber >= 0x1000 && KeWin32PostServiceHook)
|
||||||
return KeWin32PostServiceHook(SystemCallNumber, Result);
|
return KeWin32PostServiceHook(SystemCallNumber, Result);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue