Author: sginsberg
Date: Tue May 5 23:24:49 2009
New Revision: 40801
URL:
http://svn.reactos.org/svn/reactos?rev=40801&view=rev
Log:
- Fix definition of POINTER_ALIGNMENT for 64-bit. Problem reported by Brian Hawley at
mingw-w64:
http://sourceforge.net/forum/forum.php?thread_id=3163052&forum_id=723797
Modified:
trunk/reactos/include/ddk/winddk.h
Modified: trunk/reactos/include/ddk/winddk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/winddk.h?rev=4…
==============================================================================
--- trunk/reactos/include/ddk/winddk.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/winddk.h [iso-8859-1] Tue May 5 23:24:49 2009
@@ -51,7 +51,13 @@
#define VOLATILE volatile
#define RESTRICTED_POINTER
+
+#if defined(_WIN64)
+#define POINTER_ALIGNMENT DECLSPEC_ALIGN(8)
+#else
#define POINTER_ALIGNMENT
+#endif
+
#define DECLSPEC_ADDRSAFE
#ifdef NONAMELESSUNION