summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fs/files.cpp2
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);