secureswitools/swisistools/source/interpretsislib/is_utils.cpp
branchRCL_3
changeset 25 7333d7932ef7
parent 24 5cc91383ab1e
child 26 8b7f4e561641
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
    77 
    77 
    78 void ConvertToPlatformSpecificPath( TUint16* aIn, TUint32 len )
    78 void ConvertToPlatformSpecificPath( TUint16* aIn, TUint32 len )
    79 {
    79 {
    80     while( len-- > 0 )
    80     while( len-- > 0 )
    81     {
    81     {
       
    82 	#ifdef __TOOLS2_LINUX__
    82     	if( *aIn == '\\' )
    83     	if( *aIn == '\\' )
    83     	{
    84     	{
    84     		*aIn = '/';
    85     		*aIn = '/';
    85     	}
    86     	}
       
    87 	#else
       
    88     	if( *aIn == '/' )
       
    89     	{
       
    90     		*aIn = '\\';
       
    91     	}
       
    92 	#endif
       
    93 		
    86     	aIn++;
    94     	aIn++;
    87     }
    95     }
    88 }
    96 }
    89 
    97 
    90 #ifdef __TOOLS2_LINUX__
    98 #ifdef __TOOLS2_LINUX__