mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[CMLIB] Don't redefine PAGED_CODE() to nothing in cmlib.h except for cmlib_host
This header is included by ntoskrnl which effectively disabled all PAGED_CODE checks since 2015. Thanks Alex. Instead define _BLDR_ when building cmlib, which will avoid trying to import KeGetCurrentIrql()
This commit is contained in:
parent
8d520f3c27
commit
2881b77302
2 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
|
||||
add_definitions(
|
||||
-D_BLDR_
|
||||
-D_NTSYSTEM_
|
||||
-DNASSERT)
|
||||
|
||||
|
|
|
@ -172,8 +172,6 @@
|
|||
#include <ntdef.h>
|
||||
#include <ntifs.h>
|
||||
#include <bugcodes.h>
|
||||
#undef PAGED_CODE
|
||||
#define PAGED_CODE()
|
||||
|
||||
/* Prevent inclusion of Windows headers through <wine/unicode.h> */
|
||||
#define _WINDEF_
|
||||
|
|
Loading…
Reference in a new issue