diff --git a/reactos/include/ndk/extypes.h b/reactos/include/ndk/extypes.h index 618580e2347..0833f32f78b 100644 --- a/reactos/include/ndk/extypes.h +++ b/reactos/include/ndk/extypes.h @@ -470,6 +470,16 @@ typedef struct _EX_PUSH_LOCK // // Executive Pushlock Wait Block // + +// +// The wait block has to be properly aligned +// on a non-checked build even if the debug data isn't there. +// +#if defined(_MSC_VER) +#pragma warning(push) +#pragma warning(disable:4324) +#endif + typedef __ALIGNED(16) struct _EX_PUSH_LOCK_WAIT_BLOCK { union @@ -490,6 +500,10 @@ typedef __ALIGNED(16) struct _EX_PUSH_LOCK_WAIT_BLOCK #endif } EX_PUSH_LOCK_WAIT_BLOCK, *PEX_PUSH_LOCK_WAIT_BLOCK; +#if defined(_MSC_VER) +#pragma warning(pop) +#endif + // // Callback Object //