[ros-diffs] [tkreuzer] 56287: [DDK/XDK] Fix non-x86 definition of KTIMER

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sat Mar 31 10:55:44 UTC 2012


Author: tkreuzer
Date: Sat Mar 31 10:55:43 2012
New Revision: 56287

URL: http://svn.reactos.org/svn/reactos?rev=56287&view=rev
Log:
[DDK/XDK]
Fix non-x86 definition of KTIMER

Modified:
    trunk/reactos/include/ddk/wdm.h
    trunk/reactos/include/xdk/ketypes.h

Modified: trunk/reactos/include/ddk/wdm.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/wdm.h?rev=56287&r1=56286&r2=56287&view=diff
==============================================================================
--- trunk/reactos/include/ddk/wdm.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/wdm.h [iso-8859-1] Sat Mar 31 10:55:43 2012
@@ -1406,9 +1406,9 @@
   ULARGE_INTEGER DueTime;
   LIST_ENTRY TimerListEntry;
   struct _KDPC *Dpc;
-# if !defined(_X86_)
+#if (NTDDI_VERSION >= NTDDI_WIN7) && !defined(_X86_)
   ULONG Processor;
-# endif
+#endif
   ULONG Period;
 } KTIMER, *PKTIMER, *RESTRICTED_POINTER PRKTIMER;
 

Modified: trunk/reactos/include/xdk/ketypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/ketypes.h?rev=56287&r1=56286&r2=56287&view=diff
==============================================================================
--- trunk/reactos/include/xdk/ketypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/xdk/ketypes.h [iso-8859-1] Sat Mar 31 10:55:43 2012
@@ -836,9 +836,9 @@
   ULARGE_INTEGER DueTime;
   LIST_ENTRY TimerListEntry;
   struct _KDPC *Dpc;
-# if !defined(_X86_)
+#if (NTDDI_VERSION >= NTDDI_WIN7) && !defined(_X86_)
   ULONG Processor;
-# endif
+#endif
   ULONG Period;
 } KTIMER, *PKTIMER, *RESTRICTED_POINTER PRKTIMER;
 




More information about the Ros-diffs mailing list