fixed compilation on windows

This commit is contained in:
cyril soler 2016-10-10 11:29:03 +02:00
parent 4e48005047
commit 3c5e12ae84

View File

@ -63,7 +63,11 @@ void FolderIterator::next()
{ {
while(readdir()) while(readdir())
{ {
#ifdef WINDOWS_SYS
ConvertUtf16ToUtf8(fileInfo.cFileName, mFileName) ;
#else
mFileName = ent->d_name ; mFileName = ent->d_name ;
#endif
if(mFileName == "." || mFileName == "..") if(mFileName == "." || mFileName == "..")
continue ; continue ;