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

@ -116,12 +116,16 @@ static inline bool RemoveFile(const Path &file)
*/ */
Path ReadLink(const Path &path); Path ReadLink(const Path &path);
#ifndef WIN32
static inline bool static inline bool
MakeFifo(const Path &path, mode_t mode) MakeFifo(const Path &path, mode_t mode)
{ {
return mkfifo(path.c_str(), mode) == 0; return mkfifo(path.c_str(), mode) == 0;
} }
#endif
/** /**
* Wrapper for access() that uses #Path names. * Wrapper for access() that uses #Path names.
*/ */