os/FileSystem: disable mkfifo() wrapper on WIN32

This commit is contained in:
Max Kellermann 2013-08-07 20:31:27 +02:00
parent b76a29a69a
commit 3ac2e9d31f
1 changed files with 4 additions and 0 deletions

View File

@ -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.
*/