skins/AknSkins/sdcsrc/SDCInput.cpp
branchRCL_3
changeset 55 33ddb261ab37
parent 32 d9c996538b26
child 64 ecb300a325e8
equal deleted inserted replaced
54:08459e712984 55:33ddb261ab37
   338 
   338 
   339 void CSDCInput::RawRead()
   339 void CSDCInput::RawRead()
   340     {
   340     {
   341     if( iUnicode )
   341     if( iUnicode )
   342         {
   342         {
       
   343 #if (defined(__MSVCRT__) || defined(_MSC_VER))
   343         iNextChar = fgetwc( iFile );
   344         iNextChar = fgetwc( iFile );
       
   345 #else
       
   346         /* to make it work under linux */
       
   347         char c1 = fgetc(iFile);
       
   348         char c2 = fgetc(iFile);
       
   349         
       
   350         iNextChar = c1 | (c2 << 8);
       
   351 #endif
   344         }
   352         }
   345     else
   353     else
   346         {
   354         {
   347         int ch = fgetc( iFile );
   355         int ch = fgetc( iFile );
   348         if( ch == EOF )
   356         if( ch == EOF )