From 42d76b52a00964258ab941514c62c49cddb945bc Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 7 Jun 2015 09:28:56 +0000 Subject: [PATCH] [XDK] Add some workarounds for the UM/KM types mismatches. svn path=/trunk/; revision=68057 --- reactos/include/xdk/ntifs.template.h | 3 +++ reactos/include/xdk/wdm.template.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/reactos/include/xdk/ntifs.template.h b/reactos/include/xdk/ntifs.template.h index af6712bb4db..7e77f627fc3 100644 --- a/reactos/include/xdk/ntifs.template.h +++ b/reactos/include/xdk/ntifs.template.h @@ -30,6 +30,9 @@ extern "C" { #endif +$define(UCHAR=UCHAR) +$define(ULONG=ULONG) + /* Dependencies */ #include #include diff --git a/reactos/include/xdk/wdm.template.h b/reactos/include/xdk/wdm.template.h index 634272cfbae..b323f0e2e2f 100644 --- a/reactos/include/xdk/wdm.template.h +++ b/reactos/include/xdk/wdm.template.h @@ -76,6 +76,8 @@ __drv_Mode_impl(WDM_INCLUDED) extern "C" { #endif +$define(ULONG=ULONG) + #if !defined(_NTHALDLL_) && !defined(_BLDR_) #define NTHALAPI DECLSPEC_IMPORT #else -- 2.17.1