mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 21:11:54 +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(
|
add_definitions(
|
||||||
|
-D_BLDR_
|
||||||
-D_NTSYSTEM_
|
-D_NTSYSTEM_
|
||||||
-DNASSERT)
|
-DNASSERT)
|
||||||
|
|
||||||
|
|
|
@ -172,8 +172,6 @@
|
||||||
#include <ntdef.h>
|
#include <ntdef.h>
|
||||||
#include <ntifs.h>
|
#include <ntifs.h>
|
||||||
#include <bugcodes.h>
|
#include <bugcodes.h>
|
||||||
#undef PAGED_CODE
|
|
||||||
#define PAGED_CODE()
|
|
||||||
|
|
||||||
/* Prevent inclusion of Windows headers through <wine/unicode.h> */
|
/* Prevent inclusion of Windows headers through <wine/unicode.h> */
|
||||||
#define _WINDEF_
|
#define _WINDEF_
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue