removed symbolic links handling from windows compilation

This commit is contained in:
cyril soler 2016-11-17 09:31:05 +01:00
parent fe965d2335
commit 1b9fe3bc8e

View File

@ -112,6 +112,8 @@ bool FolderIterator::updateFileInfo(bool& should_skip)
mFullPath = mFolderName + "/" + mFileName ;
#warning should we take care of symbolic links on windows?
#ifndef WINDOWS_SYS
if( ent->d_type == DT_LNK && !mAllowSymLinks)
{
std::cerr << "(II) Skipping symbolic link " << mFullPath << std::endl;
@ -124,6 +126,7 @@ bool FolderIterator::updateFileInfo(bool& should_skip)
should_skip = true ;
return true ;
}
#endif
struct stat64 buf ;