diff options
Diffstat (limited to 'src/fs/FileSystem.hxx')
-rw-r--r-- | src/fs/FileSystem.hxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/fs/FileSystem.hxx b/src/fs/FileSystem.hxx index 66fe77d31..e9751c73b 100644 --- a/src/fs/FileSystem.hxx +++ b/src/fs/FileSystem.hxx @@ -131,23 +131,17 @@ MakeFifo(Path path, mode_t mode) return mkfifo(path.c_str(), mode) == 0; } -#endif - /** * Wrapper for access() that uses #Path names. */ static inline bool CheckAccess(Path path, int mode) { -#ifdef WIN32 - (void)path; - (void)mode; - return true; -#else return access(path.c_str(), mode) == 0; -#endif } +#endif + /** * Checks is specified path exists and accessible. */ |