mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
Fix SLIST_ENTRY for WIN64
svn path=/branches/ros-amd64-bringup/; revision=44294
This commit is contained in:
@@ -575,11 +575,11 @@ InterlockedAdd64(
|
||||
#ifndef _SLIST_HEADER_
|
||||
#define _SLIST_HEADER_
|
||||
|
||||
#define SLIST_ENTRY SINGLE_LIST_ENTRY
|
||||
#define _SLIST_ENTRY _SINGLE_LIST_ENTRY
|
||||
#define PSLIST_ENTRY PSINGLE_LIST_ENTRY
|
||||
|
||||
#if defined(_WIN64)
|
||||
typedef struct DECLSPEC_ALIGN(16) _SLIST_ENTRY *PSLIST_ENTRY;
|
||||
typedef struct DECLSPEC_ALIGN(16) _SLIST_ENTRY {
|
||||
PSLIST_ENTRY Next;
|
||||
} SLIST_ENTRY;
|
||||
typedef union DECLSPEC_ALIGN(16) _SLIST_HEADER {
|
||||
struct {
|
||||
ULONGLONG Alignment;
|
||||
@@ -604,6 +604,9 @@ typedef union DECLSPEC_ALIGN(16) _SLIST_HEADER {
|
||||
} Header16;
|
||||
} SLIST_HEADER, *PSLIST_HEADER;
|
||||
#else
|
||||
#define SLIST_ENTRY SINGLE_LIST_ENTRY
|
||||
#define _SLIST_ENTRY _SINGLE_LIST_ENTRY
|
||||
#define PSLIST_ENTRY PSINGLE_LIST_ENTRY
|
||||
typedef union _SLIST_HEADER {
|
||||
ULONGLONG Alignment;
|
||||
struct {
|
||||
|
||||
@@ -3248,11 +3248,11 @@ typedef struct _SINGLE_LIST_ENTRY {
|
||||
#ifndef _SLIST_HEADER_
|
||||
#define _SLIST_HEADER_
|
||||
|
||||
#define SLIST_ENTRY SINGLE_LIST_ENTRY
|
||||
#define _SLIST_ENTRY _SINGLE_LIST_ENTRY
|
||||
#define PSLIST_ENTRY PSINGLE_LIST_ENTRY
|
||||
|
||||
#if defined(_WIN64)
|
||||
typedef struct DECLSPEC_ALIGN(16) _SLIST_ENTRY *PSLIST_ENTRY;
|
||||
typedef struct DECLSPEC_ALIGN(16) _SLIST_ENTRY {
|
||||
PSLIST_ENTRY Next;
|
||||
} SLIST_ENTRY;
|
||||
typedef union DECLSPEC_ALIGN(16) _SLIST_HEADER {
|
||||
struct {
|
||||
ULONGLONG Alignment;
|
||||
@@ -3277,6 +3277,9 @@ typedef union DECLSPEC_ALIGN(16) _SLIST_HEADER {
|
||||
} Header16;
|
||||
} SLIST_HEADER, *PSLIST_HEADER;
|
||||
#else
|
||||
#define SLIST_ENTRY SINGLE_LIST_ENTRY
|
||||
#define _SLIST_ENTRY _SINGLE_LIST_ENTRY
|
||||
#define PSLIST_ENTRY PSINGLE_LIST_ENTRY
|
||||
typedef union _SLIST_HEADER {
|
||||
ULONGLONG Alignment;
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user