mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
fixed compilation on windows
This commit is contained in:
parent
4e48005047
commit
3c5e12ae84
@ -63,7 +63,11 @@ void FolderIterator::next()
|
||||
{
|
||||
while(readdir())
|
||||
{
|
||||
mFileName = ent->d_name ;
|
||||
#ifdef WINDOWS_SYS
|
||||
ConvertUtf16ToUtf8(fileInfo.cFileName, mFileName) ;
|
||||
#else
|
||||
mFileName = ent->d_name ;
|
||||
#endif
|
||||
|
||||
if(mFileName == "." || mFileName == "..")
|
||||
continue ;
|
||||
|
Loading…
Reference in New Issue
Block a user