mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
fixed compilation on windows
This commit is contained in:
parent
4e48005047
commit
3c5e12ae84
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue