secureswitools/swisistools/source/sisxlibrary/siscontents.cpp
branchRCL_3
changeset 62 5cc91383ab1e
parent 0 ba25891c3a9e
child 65 7333d7932ef7
--- a/secureswitools/swisistools/source/sisxlibrary/siscontents.cpp	Thu Jul 15 18:47:04 2010 +0300
+++ b/secureswitools/swisistools/source/sisxlibrary/siscontents.cpp	Thu Aug 19 10:02:49 2010 +0300
@@ -67,7 +67,11 @@
 bool CSISContents::IsSisFile(const std::wstring& aFileName)
 	{
 	TSISStream input;
+	#ifdef __TOOLS2_LINUX__
 	std::wstring fileName = FixPathDelimiters(aFileName);
+	#else
+	std::wstring fileName = aFileName;
+	#endif
 	HANDLE file = ::MakeSISOpenFile(fileName.c_str(),GENERIC_READ,OPEN_EXISTING);
 	CSISException::ThrowIf ((INVALID_HANDLE_VALUE == file), 
 							CSISException::EFileProblem, std::wstring (L"cannot open ") + fileName);
@@ -99,7 +103,11 @@
 void CSISContents::Load (const std::wstring& aFileName, TUint64* size)
 	{
 	TSISStream input;
+	#ifdef __TOOLS2_LINUX__
 	std::wstring fileName = FixPathDelimiters(aFileName);
+	#else
+	std::wstring fileName = aFileName;
+	#endif
 	HANDLE file = ::MakeSISOpenFile(fileName.c_str(),GENERIC_READ,OPEN_EXISTING);
 	if (INVALID_HANDLE_VALUE == file)
 		{