mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
fixed compilation on windows
This commit is contained in:
parent
4e48005047
commit
3c5e12ae84
@ -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 ;
|
||||||
|
Loading…
Reference in New Issue
Block a user