mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
[NTOS] Don't define _IN_KERNEL_ globally for the kernel, but just where it's needed: when including regstr.h.
This commit is contained in:
parent
551d28e09f
commit
b414e1e4d7
2 changed files with 4 additions and 1 deletions
|
@ -58,9 +58,13 @@
|
|||
#include <ndk/rtlfuncs.h>
|
||||
#include <ndk/sefuncs.h>
|
||||
#include <ndk/vftypes.h>
|
||||
|
||||
#undef TEXT
|
||||
#define TEXT(s) L##s
|
||||
|
||||
#define _IN_KERNEL_
|
||||
#include <regstr.h>
|
||||
|
||||
#include <ntstrsafe.h>
|
||||
#include <ntpoapi.h>
|
||||
#define ENABLE_INTSAFE_SIGNED_FUNCTIONS
|
||||
|
|
|
@ -11,7 +11,6 @@ include_directories(
|
|||
add_definitions(
|
||||
-D_NTOSKRNL_
|
||||
-D_NTSYSTEM_
|
||||
-D_IN_KERNEL_
|
||||
-DNTDDI_VERSION=0x05020400)
|
||||
|
||||
if(NOT DEFINED NEWCC)
|
||||
|
|
Loading…
Reference in a new issue