Fix pool code to actually work when some other defines are used
Modified: trunk/reactos/ntoskrnl/mm/rpoolmgr.h

Modified: trunk/reactos/ntoskrnl/mm/rpoolmgr.h
--- trunk/reactos/ntoskrnl/mm/rpoolmgr.h	2005-05-26 13:39:40 UTC (rev 15504)
+++ trunk/reactos/ntoskrnl/mm/rpoolmgr.h	2005-05-26 13:40:40 UTC (rev 15505)
@@ -249,6 +249,10 @@
 #endif//DBG
 }
 
+#if !R_STACK
+#define RFreeFillStack(free)
+#define RUsedFillStack(used)
+#else
 static void
 RFreeFillStack ( PR_FREE free )
 {
@@ -270,6 +274,7 @@
 	for ( i = 0; i < R_EXTRA_STACK_UP; i++ )
 		used->LastOwnerStack[i] = stack[i+2];
 }
+#endif
 
 static PR_FREE
 RFreeInit ( void* memory )
@@ -332,7 +337,7 @@
 }
 
 #if !R_RZ
-#define RUsedRedZoneCheck(pUsed,Addr,file,line)
+#define RUsedRedZoneCheck(pUsed,Addr,file,line, printzone)
 #else//R_RZ
 static void
 RiBadBlock ( PR_USED pUsed, char* Addr, const char* violation, const char* file, int line, int printzone )