Author: sginsberg
Date: Fri Sep 11 18:02:58 2015
New Revision: 69185

URL: http://svn.reactos.org/svn/reactos?rev=69185&view=rev
Log:
- Fix a thousand warnings

Modified:
    trunk/reactos/include/ndk/extypes.h

Modified: trunk/reactos/include/ndk/extypes.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/extypes.h?rev=69185&r1=69184&r2=69185&view=diff
==============================================================================
--- trunk/reactos/include/ndk/extypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/extypes.h [iso-8859-1] Fri Sep 11 18:02:58 2015
@@ -470,6 +470,16 @@
 //
 // 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
@@ -489,6 +499,10 @@
     PEX_PUSH_LOCK PushLock;
 #endif
 } EX_PUSH_LOCK_WAIT_BLOCK, *PEX_PUSH_LOCK_WAIT_BLOCK;
+
+#if defined(_MSC_VER)
+#pragma warning(pop)
+#endif
 
 //
 // Callback Object


Reply via email to