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

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

index 7e77f62..642193f 100644 (file)
@@ -32,6 +32,7 @@ extern "C" {
 
 $define(UCHAR=UCHAR)
 $define(ULONG=ULONG)
 
 $define(UCHAR=UCHAR)
 $define(ULONG=ULONG)
+$define(USHORT=USHORT)
 
 /* Dependencies */
 #include <ntddk.h>
 
 /* Dependencies */
 #include <ntddk.h>
index b323f0e..1f7b392 100644 (file)
@@ -76,7 +76,9 @@ __drv_Mode_impl(WDM_INCLUDED)
 extern "C" {
 #endif
 
 extern "C" {
 #endif
 
+$define(UCHAR=UCHAR)
 $define(ULONG=ULONG)
 $define(ULONG=ULONG)
+$define(USHORT=USHORT)
 
 #if !defined(_NTHALDLL_) && !defined(_BLDR_)
 #define NTHALAPI DECLSPEC_IMPORT
 
 #if !defined(_NTHALDLL_) && !defined(_BLDR_)
 #define NTHALAPI DECLSPEC_IMPORT