[XDK] Add some workarounds for the UM/KM types mismatches.
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 7 Jun 2015 09:28:56 +0000 (09:28 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 7 Jun 2015 09:28:56 +0000 (09:28 +0000)
svn path=/trunk/; revision=68057

reactos/include/xdk/ntifs.template.h
reactos/include/xdk/wdm.template.h

index af6712b..7e77f62 100644 (file)
@@ -30,6 +30,9 @@
 extern "C" {
 #endif
 
 extern "C" {
 #endif
 
+$define(UCHAR=UCHAR)
+$define(ULONG=ULONG)
+
 /* Dependencies */
 #include <ntddk.h>
 #include <excpt.h>
 /* Dependencies */
 #include <ntddk.h>
 #include <excpt.h>
index 634272c..b323f0e 100644 (file)
@@ -76,6 +76,8 @@ __drv_Mode_impl(WDM_INCLUDED)
 extern "C" {
 #endif
 
 extern "C" {
 #endif
 
+$define(ULONG=ULONG)
+
 #if !defined(_NTHALDLL_) && !defined(_BLDR_)
 #define NTHALAPI DECLSPEC_IMPORT
 #else
 #if !defined(_NTHALDLL_) && !defined(_BLDR_)
 #define NTHALAPI DECLSPEC_IMPORT
 #else