mmresourcemgmt/mmresctrl/src/mmrcserver/mmrcserver.cpp
branchRCL_3
changeset 65 af86cc8a4692
parent 50 948c7f65f6d4
--- a/mmresourcemgmt/mmresctrl/src/mmrcserver/mmrcserver.cpp	Wed Sep 15 13:51:05 2010 +0300
+++ b/mmresourcemgmt/mmresctrl/src/mmrcserver/mmrcserver.cpp	Wed Oct 13 16:15:10 2010 +0300
@@ -224,17 +224,6 @@
 	// Need to check that the server exists.
 	if ( findCountServer.Next(name) != KErrNone )
 		{
-#if (defined (__WINS__) || defined (__WINSCW__) )
-		  // Create the thread for the server. Don't allocate a separate
-          // heap but use client thread's heap instead. This saves memory
-          // space in the single process model used in the emulator.
-		res = aServerThread.Create(KMMRCServerName,
-			CMMRCServer::ThreadFunction,
-			KMMRCServerStackSize,
-			NULL,
-			NULL
-			);
-#else
 		  // Create the thread for the server.
 		res = aServerThread.Create(KMMRCServerName,
 			CMMRCServer::ThreadFunction,
@@ -243,7 +232,6 @@
 			KMMRCServerMaxHeapSize,
 			NULL
 			);
-#endif	
 			
 		// The thread has been created OK so get it started - however
 		// we need to make sure that it has started before we continue.