diff -r 6a26ca985d90 -r 849a0b46c767 libraries/ltkutils/src/w32crack.cpp --- a/libraries/ltkutils/src/w32crack.cpp Wed Oct 13 15:07:15 2010 +0100 +++ b/libraries/ltkutils/src/w32crack.cpp Sun Oct 17 18:43:12 2010 +0100 @@ -10,12 +10,22 @@ // Accenture - Initial contribution // +#include +#include #include #include -#include #include + +#if !defined(FSHELL_WSERV_SUPPORT) || !defined(FSHELL_MEMORY_ACCESS_SUPPORT) + +EXPORT_C void LtkUtils::W32CrackL() + { + User::Leave(KErrNotSupported); + } + +#else + #include -#include #include // @@ -25,10 +35,6 @@ // EXPORT_C void LtkUtils::W32CrackL() { -#ifndef FSHELL_WSERV_SUPPORT - User::Leave(KErrNotSupported); -#else - // Check if P&S says it's already enabled, if so no need to do anything if (W32CrackIsEnabled()) return; @@ -111,9 +117,10 @@ // cleanup CleanupStack::PopAndDestroy(4, &fs); -#endif // FSHELL_WSERV_SUPPORT } +#endif // supported + EXPORT_C TBool LtkUtils::W32CrackIsEnabled() { TInt enabled = EFalse;