diff -r 2965a06983dc -r 81c9bee26a45 locationmgmt/networkgateway/src/netgateway.cpp --- a/locationmgmt/networkgateway/src/netgateway.cpp Mon May 03 13:50:32 2010 +0300 +++ b/locationmgmt/networkgateway/src/netgateway.cpp Tue Jul 13 12:25:28 2010 +0100 @@ -152,11 +152,16 @@ iAdmin = CLbsAdmin::NewL(); +#if defined __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC + TBool locationManagementSupported(EFalse); +#else #ifdef SYMBIAN_FEATURE_MANAGER TBool locationManagementSupported = CFeatureDiscovery::IsFeatureSupportedL(NFeature::KLocationManagement); #else TBool locationManagementSupported(ETrue); -#endif +#endif // SYMBIAN_FEATURE_MANAGER +#endif // __WINSCW__ && defined SYMBIAN_CELLMO_CENTRIC + if(locationManagementSupported) { iNetworkLocationChannel = CNetworkLocationChannel::NewL(*this);