mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed compilation on windows
This commit is contained in:
parent
4e48005047
commit
3c5e12ae84
@ -63,7 +63,11 @@ void FolderIterator::next()
|
||||
{
|
||||
while(readdir())
|
||||
{
|
||||
#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