diff options
Diffstat (limited to 'src/lib/utils/fs.cpp')
-rw-r--r-- | src/lib/utils/fs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/utils/fs.cpp b/src/lib/utils/fs.cpp index aee9294c4..b1ada17db 100644 --- a/src/lib/utils/fs.cpp +++ b/src/lib/utils/fs.cpp @@ -70,8 +70,12 @@ list_all_readable_files_in_or_under(const std::string& dir_path) } } #else +#if defined(_MSC_VER) + #pragma message ( "No filesystem access enabled" ) +#else #warning "No filesystem access enabled" #endif +#endif std::sort(paths.begin(), paths.end()); |