Index: /trunk/src/VBox/VMM/MMInternal.h
===================================================================
--- /trunk/src/VBox/VMM/MMInternal.h	(revision 22934)
+++ /trunk/src/VBox/VMM/MMInternal.h	(revision 22935)
@@ -88,5 +88,5 @@
 #endif
 } MMHEAPSTAT;
-#if defined(MMR3HEAP_WITH_STATISTICS) && !defined(IN_TSTVMSTRUCTGC)
+#if defined(MMR3HEAP_WITH_STATISTICS) && !defined(IN_RING3)
 AssertCompileMemberAlignment(MMHEAPSTAT, cAllocations, 8);
 #endif
@@ -178,5 +178,7 @@
     size_t                  cbCurAllocated;
 } MMUKHEAPSTAT;
+#ifdef IN_RING3
 AssertCompileMemberAlignment(MMUKHEAPSTAT, cAllocations, 8);
+#endif
 /** Pointer to heap statistics record. */
 typedef MMUKHEAPSTAT *PMMUKHEAPSTAT;
@@ -220,5 +222,7 @@
     MMUKHEAPSTAT            Stat;
 } MMUKHEAP;
+#ifdef IN_RING3
 AssertCompileMemberAlignment(MMUKHEAP, Stat, 8);
+#endif
 /** Pointer to MM Heap structure. */
 typedef MMUKHEAP *PMMUKHEAP;
@@ -568,7 +572,9 @@
 #endif
 } MMPAGEPOOL;
+#ifndef IN_RC
 AssertCompileMemberAlignment(MMPAGEPOOL, cSubPools, 4);
-#ifdef VBOX_WITH_STATISTICS
+# ifdef VBOX_WITH_STATISTICS
 AssertCompileMemberAlignment(MMPAGEPOOL, cAllocCalls, 8);
+# endif
 #endif
 /** Pointer to page pool. */
