diff -r 3eacc0623088 -r 55f2396f6d25 featuremgmt/featuremgr/src/serverexe/featmgrserver.h --- a/featuremgmt/featuremgr/src/serverexe/featmgrserver.h Fri Apr 16 16:49:27 2010 +0300 +++ b/featuremgmt/featuremgr/src/serverexe/featmgrserver.h Mon May 03 14:09:14 2010 +0300 @@ -31,6 +31,18 @@ #include "featmgrfeatureregistry.h" #include "burstate.h" +#ifdef FEATURE_MANAGER_STARTUP_TEST + inline void FmgrFatalErrorL(TInt err, const TDesC&, TInt) + { + User::Leave(err); + } +#else + inline void FmgrFatalErrorL(TInt, const TDesC& aPanicCategory, TInt aPanicCode) + { + User::Panic(aPanicCategory, aPanicCode); + } +#endif + // FORWARD DECLARATIONS class CFeatMgrPluginHandler; class CFeatMgrFeatureRegistry;