diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fs/FileSystem.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fs/FileSystem.hxx b/src/fs/FileSystem.hxx index aab5f3bfb..d247f1a75 100644 --- a/src/fs/FileSystem.hxx +++ b/src/fs/FileSystem.hxx @@ -116,12 +116,16 @@ static inline bool RemoveFile(const Path &file) */ Path ReadLink(const Path &path); +#ifndef WIN32 + static inline bool MakeFifo(const Path &path, mode_t mode) { return mkfifo(path.c_str(), mode) == 0; } +#endif + /** * Wrapper for access() that uses #Path names. */ |