disable ROS_LONG64 hack for amd64
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 17 Oct 2009 19:19:22 +0000 (19:19 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 17 Oct 2009 19:19:22 +0000 (19:19 +0000)
svn path=/trunk/; revision=43538

reactos/include/psdk/winnt.h

index 4d2714d..d2e7d0d 100644 (file)
@@ -106,7 +106,7 @@ extern "C" {
 #endif
 typedef char CHAR;
 typedef short SHORT;
-#ifndef __ROS_LONG64__
+#if !defined(__ROS_LONG64__) || defined(_M_AMD64)
 typedef long LONG;
 #else
 typedef int LONG;
@@ -3278,8 +3278,8 @@ typedef union _SLIST_HEADER {
     ULONGLONG Alignment;
     struct {
         SLIST_ENTRY Next;
-        WORD Depth;
-        WORD Sequence;
+        USHORT Depth;
+        USHORT Sequence;
     } DUMMYSTRUCTNAME;
 } SLIST_HEADER, *PSLIST_HEADER;
 #endif