Don't C_ASSERT some struct sizes on 64 bit builds

svn path=/trunk/; revision=56257
This commit is contained in:
Timo Kreuzer 2012-03-28 09:14:27 +00:00
parent 5910fd1fbe
commit 82c185ae72

View file

@ -845,7 +845,9 @@ typedef struct _SYSTEM_THREAD_INFORMATION
ULONG WaitReason;
ULONG PadPadAlignment;
} SYSTEM_THREAD_INFORMATION, *PSYSTEM_THREAD_INFORMATION;
#ifndef _WIN64
C_ASSERT(sizeof(SYSTEM_THREAD_INFORMATION) == 0x40); // Must be 8-byte aligned
#endif
typedef struct _SYSTEM_PROCESS_INFORMATION
{
@ -894,9 +896,11 @@ typedef struct _SYSTEM_PROCESS_INFORMATION
LARGE_INTEGER OtherTransferCount;
// SYSTEM_THREAD_INFORMATION TH[1];
} SYSTEM_PROCESS_INFORMATION, *PSYSTEM_PROCESS_INFORMATION;
#ifndef _WIN64
C_ASSERT(sizeof(SYSTEM_PROCESS_INFORMATION) == 0xB8); // Must be 8-byte aligned
#endif
//
//
// Class 6
typedef struct _SYSTEM_CALL_COUNT_INFORMATION
{