diff --git a/ntoskrnl/include/ntoskrnl.h b/ntoskrnl/include/ntoskrnl.h index 643562e60f0..6f2f5379bec 100644 --- a/ntoskrnl/include/ntoskrnl.h +++ b/ntoskrnl/include/ntoskrnl.h @@ -58,9 +58,13 @@ #include #include #include + #undef TEXT #define TEXT(s) L##s + +#define _IN_KERNEL_ #include + #include #include #define ENABLE_INTSAFE_SIGNED_FUNCTIONS diff --git a/ntoskrnl/ntos.cmake b/ntoskrnl/ntos.cmake index eb6cfa817c3..2284563e436 100644 --- a/ntoskrnl/ntos.cmake +++ b/ntoskrnl/ntos.cmake @@ -11,7 +11,6 @@ include_directories( add_definitions( -D_NTOSKRNL_ -D_NTSYSTEM_ - -D_IN_KERNEL_ -DNTDDI_VERSION=0x05020400) if(NOT DEFINED NEWCC)