diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-04 18:47:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-04 20:05:47 +0300 |
commit | 7c7486ad3e61331daa3bf0e1e6f9701a4f246044 (patch) | |
tree | e738921ba9416b096f93470d47e5876499b66e4e /src/fs/files.cpp | |
parent | e19ceec7c30511b8cc7983c7532f0710442e611d (diff) | |
download | plus-7c7486ad3e61331daa3bf0e1e6f9701a4f246044.tar.gz plus-7c7486ad3e61331daa3bf0e1e6f9701a4f246044.tar.bz2 plus-7c7486ad3e61331daa3bf0e1e6f9701a4f246044.tar.xz plus-7c7486ad3e61331daa3bf0e1e6f9701a4f246044.zip |
Skip check for file links on windows.
Diffstat (limited to 'src/fs/files.cpp')
-rw-r--r-- | src/fs/files.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/files.cpp b/src/fs/files.cpp index abb0ee956..aeb0dd6a4 100644 --- a/src/fs/files.cpp +++ b/src/fs/files.cpp @@ -281,6 +281,7 @@ void Files::enumFiles(StringVect &files, const std::string file = next_file->d_name; if (file == "." || file == "..") continue; +#ifndef WIN32 if (skipSymlinks == true) { struct stat statbuf; @@ -290,6 +291,7 @@ void Files::enumFiles(StringVect &files, continue; } } +#endif // WIN32 files.push_back(file); } closedir(dir); |