浏览代码

Fix another windows compile error

Alex Szpakowski 4 年之前
父节点
当前提交
cf67e97290
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/modules/filesystem/Filesystem.cpp

+ 0 - 2
src/modules/filesystem/Filesystem.cpp

@@ -91,8 +91,6 @@ bool Filesystem::getRealPathType(const std::string &path, FileType &ftype) const
 		ftype = FILETYPE_FILE;
 	else if ((buf.st_mode & _S_IFDIR) == _S_IFDIR)
 		ftype = FILETYPE_DIRECTORY;
-	else if ((buf.st_mode & _S_IFLNK) == _S_IFLNK)
-		ftype = FILETYPE_SYMLINK;
 	else
 		ftype = FILETYPE_OTHER;
 #else