memspy/memspy_plat/memspy_api/include/memspy/driver/shared/MemSpyDriverObjectsSharedRHeap.h
branchRCL_3
changeset 18 3406c99bc375
parent 0 a03f92240627
child 20 ca8a1b6995f6
--- a/memspy/memspy_plat/memspy_api/include/memspy/driver/shared/MemSpyDriverObjectsSharedRHeap.h	Mon Jun 21 17:25:56 2010 +0300
+++ b/memspy/memspy_plat/memspy_api/include/memspy/driver/shared/MemSpyDriverObjectsSharedRHeap.h	Thu Jul 15 20:25:38 2010 +0300
@@ -19,9 +19,7 @@
 #define MEMSPYDRIVEROBJECTSSHAREDRHEAP_H
 
 // System includes
-#include <e32cmn.h>
-#include <e32ldr.h>
-#include <e32ldr_private.h>
+#include <u32std.h>
 #ifndef __KERNEL_MODE__
 #include <e32debug.h>
 #endif
@@ -93,7 +91,12 @@
 	TInt iAlign;
 	TInt iMinCell;
 	TInt iPageSize;
+#ifdef __SYMBIAN_KERNEL_HYBRID_HEAP__
+	struct SCell { TInt len; SCell* next };
+    SCell iFree;
+#else
     RHeap::SCell iFree;
+#endif
 	TInt iNestingLevel;
 	TInt iAllocCount;
     RAllocator::TAllocFail iFailType;