diff -r 667e88a979d7 -r 31a8f755b7fe featuremgmt/featuremgr/src/serverexe/featmgrserver.h --- a/featuremgmt/featuremgr/src/serverexe/featmgrserver.h Mon Mar 15 12:46:30 2010 +0200 +++ b/featuremgmt/featuremgr/src/serverexe/featmgrserver.h Thu Apr 01 00:19:42 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;