Commit 3ac2e9d3 authored by Max Kellermann's avatar Max Kellermann

os/FileSystem: disable mkfifo() wrapper on WIN32

parent b76a29a6
...@@ -116,12 +116,16 @@ static inline bool RemoveFile(const Path &file) ...@@ -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.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment